From 7458e696b5563f64e4da81ae95f88c7f36896ab8 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 12 May 2016 10:34:32 +0300 Subject: Fix compilation warnings in MinGW builds. --- nonposix.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'nonposix.h') diff --git a/nonposix.h b/nonposix.h index 976e0b7d..744914b1 100644 --- a/nonposix.h +++ b/nonposix.h @@ -43,4 +43,22 @@ int w32_status_to_termsig (unsigned); +/* Prototypes of for Posix functions for which we define replacements + in pc/ files. */ + +/* getid.c */ +unsigned int getuid (void); +unsigned int geteuid (void); +unsigned int getgid (void); +unsigned int getegid (void); + +/* gawkmisc.pc */ +int unsetenv (const char *); +int setenv (const char *, const char *, int); +#endif /* __MINGW32__ */ + +int getpgrp(void); + +#if defined(__DJGPP__) || defined(__MINGW32__) +int getppid(void); #endif -- cgit v1.2.3