diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-03-17 15:33:38 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-03-17 15:33:38 -0700 |
commit | 234cb0271bbf69ef3bd0b90a2efdd8fb724b78f0 (patch) | |
tree | b7f29d6372325d9a824d83a55820516cd5e669f0 | |
parent | 22c15ee0e696f6c250edbd8a3cf4c235a78b9f7d (diff) |
List argument types in dummyRec->CreateWindow() function declaration
Will be needed for C23 builds, since C23 treats () as (void),
not as an unspecified argument list.
Fixes warning from Solaris Studio C compiler with -fd flag:
"dummy.h", line 55: warning: old style function declaration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/dummy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dummy.h b/src/dummy.h index 3043919..b81c560 100644 --- a/src/dummy.h +++ b/src/dummy.h @@ -52,7 +52,7 @@ typedef struct dummyRec int cursorFG, cursorBG; dummy_colors colors[1024]; - Bool (*CreateWindow)() ; /* wrapped CreateWindow */ + Bool (*CreateWindow)(WindowPtr) ; /* wrapped CreateWindow */ Bool prop; /* XRANDR support begin */ int num_screens; |