[xbuild] Throw ArgumentNullException if target name is null
[mono.git] / support / stdlib.c
index 55d866428fc48f542afc27d3708824c7f6b7239a..56df107016f6d1c4affdf29d4d81ecf3ab27e4a7 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <stdlib.h>
 
+#include "map.h"
 #include "mph.h"
 
 G_BEGIN_DECLS
@@ -64,16 +65,6 @@ Mono_Posix_Stdlib_realloc (void* ptr, mph_size_t size)
        return realloc (ptr, (size_t) size);
 }
 
-#ifndef PLATFORM_WIN32
-int
-Mono_Posix_Syscall_setkey (const char* key)
-{
-       errno = 0;
-       setkey (key);
-       return errno == 0 ? 0 : -1;
-}
-#endif /* ndef PLATFORM_WIN32 */
-
 G_END_DECLS
 
 /*