[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r110805: Avoid compiler warnings in t
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r110805: Avoid compiler warnings in the MS-Windows build. |
Date: |
Mon, 05 Nov 2012 18:21:18 +0200 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110805
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Mon 2012-11-05 18:21:18 +0200
message:
Avoid compiler warnings in the MS-Windows build.
nt/inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
modified:
nt/ChangeLog
nt/inc/unistd.h
=== modified file 'nt/ChangeLog'
--- a/nt/ChangeLog 2012-11-05 14:30:32 +0000
+++ b/nt/ChangeLog 2012-11-05 16:21:18 +0000
@@ -1,3 +1,7 @@
+2012-11-05 Eli Zaretskii <address@hidden>
+
+ * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
+
2012-11-05 Juanma Barranquero <address@hidden>
* config.nt: Sync with autogen/config.in.
=== modified file 'nt/inc/unistd.h'
--- a/nt/inc/unistd.h 2012-11-01 14:21:45 +0000
+++ b/nt/inc/unistd.h 2012-11-05 16:21:18 +0000
@@ -8,9 +8,14 @@
<unistd.h> also includes <stdlib.h>, so there's no need to declare
'environ' here. */
+/* Privide prototypes of library functions that are emulated on w32
+ and whose prototypes are usually found in unistd.h on Posix
+ platforms. */
extern ssize_t readlink (const char *, char *, size_t);
extern int symlink (char const *, char const *);
extern int setpgid (pid_t, pid_t);
extern pid_t getpgrp (void);
+extern pid_t setsid (void);
+extern pid_t tcgetpgrp (int);
#endif /* _UNISTD_H */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r110805: Avoid compiler warnings in the MS-Windows build.,
Eli Zaretskii <=