Age | Commit message (Collapse) | Author | Files | Lines |
|
xnfstrdup is just an alias for XNFstrdup() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-vbox/-/merge_requests/7>
|
|
xnfcalloc is just an alias for XNFcallocarray() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-vbox/-/merge_requests/7>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Relies on C99 & later stdbool.h header to avoid making our own
definitions of bool, true, & false that C23 already defines for us.
./VBoxVideoIPRT.h:35:5: error: expected identifier before ‘false’
35 | false = 0,
| ^~~~~
./VBoxVideoIPRT.h:37:3: error: expected ‘;’, identifier or ‘(’ before ‘bool’
37 | } bool;
| ^~~~
./VBoxVideoIPRT.h:37:3: warning: useless type name in empty declaration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Different source files have slightly different variants of the MIT/X11
license in, so include all three in the COPYING file.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Clears -Wmissing-prototypes warning for every function in it,
none of which are referenced in any other file.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
./VBoxVideoIPRT.h:77:16: warning: redundant redeclaration of ‘RTASSERTVAR’ [-Wredundant-decls]
77 | extern int RTASSERTVAR[1] __attribute__((__unused__)), \
| ^~~~~~~~~~~
./VBoxVideoIPRT.h:80:5: note: in expansion of macro ‘AssertCompile’
80 | AssertCompile(sizeof(type) == (size))
| ^~~~~~~~~~~~~
./VBoxVideoIPRT.h:73:12: note: previous declaration of ‘RTASSERTVAR’ with type ‘int[1]’
73 | extern int RTASSERTVAR[1];
| ^~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
The Xorg headers provide their own versions of strlcat, strlcpy, and
timingsafe_memcmp for platforms that don't have them in libc yet, but
rely on configure to set HAVE_* defines to determine if they should be
defined in the headers.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
so it's time to rely on it.
Clears autoconf warnings:
configure.ac:44: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:44: You should run autoupdate.
aclocal.m4:3515: AC_PROG_LIBTOOL is expanded from...
configure.ac:44: the top level
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
|
|
|