]> code.delx.au - gnu-emacs/blobdiff - lib-src/ntlib.c
Fix compiler warnings in the MinGW build
[gnu-emacs] / lib-src / ntlib.c
index 4b25796830ef046c1bbf18dd9324de4a17dc3ef9..2ace218f8231330b54d351f4de04ac9dcf4a5a88 100644 (file)
@@ -34,6 +34,12 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "ntlib.h"
 
+char *sys_ctime (const time_t *);
+FILE *sys_fopen (const char *, const char *);
+int sys_chdir (const char *);
+int mkostemp (char *, int);
+int sys_rename (const char *, const char *);
+
 /* MinGW64 defines _TIMEZONE_DEFINED and defines 'struct timespec' in
    its system headers.  */
 #ifndef _TIMEZONE_DEFINED
@@ -44,6 +50,8 @@ struct timezone
 };
 #endif
 
+void gettimeofday (struct timeval *, struct timezone *);
+
 #define MAXPATHLEN _MAX_PATH
 
 /* Emulate sleep...we could have done this with a define, but that