Skip to content

Consider replacing void (*set_errnullf(int errnum))(); with void (*set_errnullf(int errnum))(void); in libslack/err.h #8

@shamefulCake1

Description

@shamefulCake1
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions