From: Eli Zaretskii Date: Sun, 9 Dec 2012 22:10:18 +0000 (+0200) Subject: Provide a prototype for unsetenv on MS-Windows. X-Git-Tag: emacs-24.3.90~173^2~7^2~652^2~4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d1a544c118268dcd72633c69b920800cdb167ee;p=emacs.git Provide a prototype for unsetenv on MS-Windows. nt/inc/unistd.h (unsetenv): Provide a prototype. --- diff --git a/nt/ChangeLog b/nt/ChangeLog index 8cb9594d4d0..35fcefe5b1b 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,7 @@ +2012-12-09 Eli Zaretskii + + * inc/unistd.h (unsetenv): Provide a prototype. + 2012-12-08 Eli Zaretskii * inc/ms-w32.h (putenv): Redirect to sys_putenv. diff --git a/nt/inc/unistd.h b/nt/inc/unistd.h index e751ed124d3..5fdd9c8eb88 100644 --- a/nt/inc/unistd.h +++ b/nt/inc/unistd.h @@ -28,4 +28,7 @@ extern int faccessat (int, char const *, int, int); #define O_NOCTTY 0 +/* This is normally on stdlib.h, but we don't override that header. */ +extern int unsetenv (const char *); + #endif /* _UNISTD_H */