Keep gcc -Wall happy.
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index f8cc298..119e871 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -52,6 +52,10 @@
#include <sys/wait.h> /* For WNOHANG */
#endif
+#ifdef HAVE_SIGNAL_H
+#include <signal.h>
+#endif
+
#include "mytime.h" /* For clock_t on some systems */
#ifdef HAVE_FCNTL_H
@@ -574,7 +578,7 @@
while ((ep = readdir(dirp)) != NULL) {
if (ep->d_name[0] == '.' &&
(NAMLEN(ep) == 1 ||
- ep->d_name[1] == '.' && NAMLEN(ep) == 2))
+ (ep->d_name[1] == '.' && NAMLEN(ep) == 2)))
continue;
v = newsizedstringobject(ep->d_name, NAMLEN(ep));
if (v == NULL) {
@@ -709,7 +713,6 @@
object *args;
{
struct utsname u;
- object *v;
int res;
if (!getnoarg(args))
return NULL;
@@ -776,7 +779,7 @@
if (!getintarg(args, &sts))
return NULL;
_exit(sts);
- /* NOTREACHED */
+ return NULL; /* Make gcc -Wall happy */
}
#ifdef HAVE_EXECV