diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-11-08 18:24:23 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-11-14 16:54:22 -0800 |
commit | 07f869b9024847a98d0593a3d05cff122ae7c8eb (patch) | |
tree | e69f41734278a4fb46a8c7aecc7288f9d15cae80 | |
parent | 7ae07138436c9700c65192c4fbc3015819999666 (diff) |
Declare help() and print_help() as static
Resolves gcc -Wmissing-prototypes warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xprop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1814,7 +1814,7 @@ Set_Property (Display *dpy, Window w, const char *propname, const char *value) * */ -void +static void print_help (void) { static const char *help_message = @@ -1845,7 +1845,7 @@ print_help (void) fprintf (stderr, "%s\n", help_message); } -void _X_NORETURN _X_COLD +static inline void _X_NORETURN _X_COLD help (void) { print_help(); |