Age | Commit message (Collapse) | Author |
|
|
|
Clang also supports the malloc attribute but unlike GCC does not accept
the deallocator argument. This has been reported as
https://github.com/llvm/llvm-project/issues/51607
Signed-off-by: Alex Richardson <arichardson@FreeBSD.org>
|
|
May aid in static analysis by gcc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Found by using:
codespell --builtin clear,rare,usage,informal,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
We can't clean it up without breaking ABI, so disable the warnings for it:
./include/X11/Xauth.h:33:19: warning: padding struct 'struct xauth' with 4 bytes to align 'address' [-Wpadded]
char *address;
^
./include/X11/Xauth.h:35:19: warning: padding struct 'struct xauth' with 6 bytes to align 'number' [-Wpadded]
char *number;
^
./include/X11/Xauth.h:37:19: warning: padding struct 'struct xauth' with 6 bytes to align 'name' [-Wpadded]
char *name;
^
./include/X11/Xauth.h:39:18: warning: padding struct 'struct xauth' with 6 bytes to align 'data' [-Wpadded]
char *data;
^
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Even if Kerberos5 support is currently unimplemented in the X server &
libXau, the Family id for the X11 protocol is still defined and reserved
for Kerberos5, and should be recorded here for interoperability with
other implementations and to avoid reuse if someone adds a new
authentication family in the future.
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
LibXau uses a 1993 kerberos api, but the X Server side support has
been already removed for quite some time.
This corrects bug report
https://bugs.freedesktop.org/show_bug.cgi?id=14684
|
|
|
|
|
|
but never used or defined
Fix sparse warnings:
-warning: Using plain integer as NULL pointer
-warning: non-ANSI definition of function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|