Add missing prototypes to Mono.Posix C sources.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Sat, 7 Jun 2014 16:02:14 +0000 (18:02 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Sat, 7 Jun 2014 16:02:14 +0000 (18:02 +0200)
support/macros.c
support/sys-time.c
support/syslog.c

index d2cf5e7bcdbb95922b01c51f2200283350af380d..8d455889d7ca4c30ea10c8a6e7c2471afcec7179 100644 (file)
@@ -100,6 +100,15 @@ char *helper_Mono_Posix_readdir(void *dir) {
 }
 
 #if HAVE_GETPWNAM_R
+int helper_Mono_Posix_getpwnamuid (int mode, char *in_name, int in_uid,
+       char **account,
+       char **password,
+       int *uid,
+       int *gid,
+       char **name,
+       char **home,
+       char **shell);
+
 int helper_Mono_Posix_getpwnamuid (int mode, char *in_name, int in_uid,
        char **account,
        char **password,
index 1759ec0fcb8e23f2435d8cb45d0e846a53b9edcb..1309f2a975342252de9335d4245c1b955bf35441 100644 (file)
@@ -70,6 +70,10 @@ Mono_Posix_Syscall_settimeofday (
 }
 
 /* Remove this at some point in the future */
+gint32
+Mono_Posix_Syscall_utimes_bad (const char *filename,
+       struct Mono_Posix_Timeval *tv);
+
 gint32
 Mono_Posix_Syscall_utimes_bad (const char *filename,
        struct Mono_Posix_Timeval *tv)
index 6fed2ad2059983d4960d3dcd2b9ce0e105145f77..2d8d7cbe8006c65ac8947c4156123d3e9f330689 100644 (file)
@@ -47,6 +47,9 @@ Mono_Posix_Syscall_syslog (int priority, const char* message)
 #endif
 
 /* vararg version of syslog(3). */
+gint32
+Mono_Posix_Syscall_syslog2 (int priority, const char *format, ...);
+
 gint32
 Mono_Posix_Syscall_syslog2 (int priority, const char *format, ...)
 {