diff --git a/libslack/err.h b/libslack/err.h
index 42f6551..2f00294 100644
--- a/libslack/err.h
+++ b/libslack/err.h
@@ -80,7 +80,7 @@ void alertsys(int priority, const char *format, ...);
void valertsys(int priority, const char *format, va_list args);
int set_errno(int errnum);
void *set_errnull(int errnum);
-void (*set_errnullf(int errnum))();
+void (*set_errnullf(int errnum))(void);
_end_decls
There doesn't seem to be a difference between the two, but it seems to make the compiler happier.