Commit 4f3f021d authored by Eli Zaretskii's avatar Eli Zaretskii

Avoid compiler warnings in the MS-Windows build.

 nt/inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
parent efeccf10
2012-11-05 Eli Zaretskii <eliz@gnu.org>
* inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
2012-11-05 Juanma Barranquero <lekktu@gmail.com>
* config.nt: Sync with autogen/config.in.
......
......@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment