waitpid: Fix link error in C++ mode.
[pspp] / lib / readutmp.h
index 38acf4500a3ffe63ee9acfb1a15dca151e472d5d..816a29928bdee0b7e5bc3ec106d93b261075acac 100644 (file)
@@ -73,7 +73,7 @@
 
 #  include <utmp.h>
 #  if !HAVE_DECL_GETUTENT
-    struct utmp *getutent();
+    struct utmp *getutent (void);
 #  endif
 #  define UTMP_STRUCT_NAME utmp
 #  define UT_TIME_MEMBER(UT_PTR) ((UT_PTR)->ut_time)