diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-05 17:10:41 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-05 17:10:41 -0800 |
commit | 46d05329624e09050a6bfa76c0dae0963d0712c9 (patch) | |
tree | a589527873f2c636505202d9fcf8974fd5df91dc | |
parent | a9bf2939f0a6536a792515d6fda29a7c754274c6 (diff) |
Handle a -Wstrict-prototypes/-Wold-style-definition pair of warnings
synclient.c:196:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
196 | dp_init()
| ^~~~~~~
synclient.c: In function ‘dp_init’:
synclient.c:196:1: warning: old-style function definition [-Wold-style-definition]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | tools/synclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/synclient.c b/tools/synclient.c index fa56198..3bb9618 100644 --- a/tools/synclient.c +++ b/tools/synclient.c @@ -193,7 +193,7 @@ parse_cmd(char *cmd, struct Parameter **par) /** Init display connection or NULL on error */ static Display * -dp_init() +dp_init(void) { Display *dpy = NULL; XExtensionVersion *v = NULL; |