[xbuild] Throw ArgumentNullException if target name is null
[mono.git] / support / stdlib.c
index 9ab875cab404568536fa1633cea40c5a9c1eb8f9..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);
 }
 
-#ifdef HAVE_SETKEY
-int
-Mono_Posix_Syscall_setkey (const char* key)
-{
-       errno = 0;
-       setkey (key);
-       return errno == 0 ? 0 : -1;
-}
-#endif /* ndef HAVE_SETKEY */
-
 G_END_DECLS
 
 /*