diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-11-22 12:41:53 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-11-22 13:03:15 +0100 |
commit | 9cff04cb06af3fffb3e853272e12cc08c44efee6 (patch) | |
tree | 782abc86d917ea060334722454437d53b2f72010 | |
parent | be3d0bc5e97f25d8531d372784b5c6c1e77fca19 (diff) | |
download | tigervnc-9cff04cb06af3fffb3e853272e12cc08c44efee6.tar.gz tigervnc-9cff04cb06af3fffb3e853272e12cc08c44efee6.zip |
Replace INITARGS with void in function parameter list
Most compilers currently accept arbitrary identifiers in this place
and ignore then, but this is going to change and turn into an error.
(It prevents compilers from diagnosing misspelled type names,
and the resulting declaration is not a prototype, so no type
errors will be reported at call sites.)
-rw-r--r-- | unix/xserver/hw/vnc/vncModule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/xserver/hw/vnc/vncModule.c b/unix/xserver/hw/vnc/vncModule.c index a448c2f1..fb8ce047 100644 --- a/unix/xserver/hw/vnc/vncModule.c +++ b/unix/xserver/hw/vnc/vncModule.c @@ -36,7 +36,7 @@ #include "XorgGlue.h" #include "RandrGlue.h" -static void vncModuleInit(INITARGS); +static void vncModuleInit(void); static MODULESETUPPROTO(vncSetup); @@ -70,7 +70,7 @@ vncSetup(void * module, void * opts, int *errmaj, int *errmin) { return (void *)1; } -static void vncModuleInit(INITARGS) +static void vncModuleInit(void) { static char once = 0; |