diff options
| author | Eli Zaretskii | 2012-12-10 00:10:18 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-12-10 00:10:18 +0200 |
| commit | 8d1a544c118268dcd72633c69b920800cdb167ee (patch) | |
| tree | 7470f8b6565aecab43aed3d95b4e8d570148d748 | |
| parent | ca065258cc3f6622dba45654f01cb71589cd29d4 (diff) | |
| download | emacs-8d1a544c118268dcd72633c69b920800cdb167ee.tar.gz emacs-8d1a544c118268dcd72633c69b920800cdb167ee.zip | |
Provide a prototype for unsetenv on MS-Windows.
nt/inc/unistd.h (unsetenv): Provide a prototype.
| -rw-r--r-- | nt/ChangeLog | 4 | ||||
| -rw-r--r-- | nt/inc/unistd.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index 8cb9594d4d0..35fcefe5b1b 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-12-09 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * inc/unistd.h (unsetenv): Provide a prototype. | ||
| 4 | |||
| 1 | 2012-12-08 Eli Zaretskii <eliz@gnu.org> | 5 | 2012-12-08 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * inc/ms-w32.h (putenv): Redirect to sys_putenv. | 7 | * 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); | |||
| 28 | 28 | ||
| 29 | #define O_NOCTTY 0 | 29 | #define O_NOCTTY 0 |
| 30 | 30 | ||
| 31 | /* This is normally on stdlib.h, but we don't override that header. */ | ||
| 32 | extern int unsetenv (const char *); | ||
| 33 | |||
| 31 | #endif /* _UNISTD_H */ | 34 | #endif /* _UNISTD_H */ |