Enrico Weigelt, metux IT consult
26e24dba36
os/access.c: drop dead <sys/utsname.h> include
...
The `#if defined(SVR4) || defined(__GNU__)` include of <sys/utsname.h>
is unused: access.c calls neither uname() nor references struct utsname
anywhere. Host-name retrieval was long ago factored out into
xhostname() (os/xhostname.h), which owns the gethostname()/uname()
logic; the include here is a leftover. The explanatory comment above
the xhostname() call (mentioning uname()) is kept — it still documents
why xhostname is preferred over gethostname().
No feature flag needed — there is nothing to gate. Verified: Linux
-Dwerror=true build still links Xvfb and Xnest.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-07-02 13:21:09 +02:00
..
.gitignore
access.c
os/access.c: drop dead <sys/utsname.h> include
2026-07-02 13:21:09 +02:00
alloc.c
os: unexport XNFreallocarray()
2025-09-29 10:53:15 +02:00
audit_priv.h
include: fix warning on XNFvasprintf() prototype
2025-12-04 17:28:58 +01:00
auth.c
treewide: clean up includes of misc.h
2026-06-19 19:24:57 +02:00
auth.h
os: move ComputeLocalClient() prototype to auth.h
2025-11-27 10:45:36 +01:00
backtrace.c
treewide: clean up includes of misc.h
2026-06-19 19:24:57 +02:00
bug_priv.h
os: parentheses around macro argument symbols
2026-06-24 15:05:16 +02:00
busfault.c
os: busfault: drop retval from busfault_init()
2026-06-25 08:46:20 +02:00
busfault.h
os: busfault: drop retval from busfault_init()
2026-06-25 08:46:20 +02:00
client.c
os: don't declare the /proc cmdline vars on OpenBSD
2026-07-01 11:40:27 +02:00
client_priv.h
os: drop ResetWellKnownSockets() and XdmcpReset()
2025-11-20 19:22:44 +01:00
cmdline.c
os: helper for parsing an counting-flag or value-flag option
2025-06-12 17:21:46 +02:00
cmdline.h
os: parentheses around macro argument symbols
2026-06-24 15:05:16 +02:00
connection.c
os: gate <sys/param.h> on HAVE_SYS_PARAM_H, not CSRG_BASED
2026-07-02 11:42:50 +02:00
ddx_priv.h
os: move OsVendorFatalError() and OsVendorInit() to ddx_priv.h
2025-11-27 10:44:58 +01:00
fmt.c
os: make FormatInt64() handle LONG_MIN correctly
2026-01-01 13:23:22 +01:00
fmt.h
os: unexport xstrtokenize()
2025-06-12 17:21:44 +02:00
inputthread.c
dix: fix typo "InputThreadFini()" -> "InputThreadFinish()"
2026-06-25 07:35:39 +02:00
io.c
[PR #3162 ] os: add optional debug logging of WriteToClient() frontend calls
2026-06-26 23:17:09 +02:00
io_priv.h
[PR #3162 ] os: split WriteToClient() into exported frontend and internal dixWriteToClient()
2026-06-26 23:17:09 +02:00
log.c
Xext: xf86bigfont: move it into it's own subdir
2026-06-16 08:27:39 +02:00
log_priv.h
os: move LogPrintMarkers() declaration into private header
2025-09-26 11:50:59 +02:00
mathx_priv.h
os: add header for math related functions (possibly OS optimized)
2025-11-27 19:58:33 +01:00
meson.build
os: drop ifdef on CLIENTIDS
2026-06-18 13:50:17 +02:00
mitauth.c
os: replace GenerateRandomData() by custom arc4random_buf() on platforms that missing it
2025-09-12 15:37:13 +02:00
mitauth.h
os: auth: generate XIDs in proto funcs only on success
2025-06-12 16:52:56 +02:00
osdep.h
os: rename __size_assert() into __SIZE_ASSERT()
2026-06-18 12:01:35 +02:00
osinit.c
treewide: clean up includes of misc.h
2026-06-19 19:24:57 +02:00
ospoll.c
os: check ospoll allocation failures
2026-06-03 19:10:01 +02:00
ospoll.h
os: ospoll: use stdbool instead of X11's Bool
2025-07-31 15:22:07 +02:00
ossock.c
xwin: move winsock specific errno checks into ossock
2026-02-11 12:02:44 +01:00
ossock.h
xwin: move winsock specific errno checks into ossock
2026-02-11 12:02:44 +01:00
probes_priv.h
treewide: drop including <dix-config.h> from private includes
2025-12-04 19:50:44 +01:00
reallocarray.c
drop obsolete HAVE_DIX_CONFIG_H
2024-10-10 13:38:31 +00:00
screensaver.h
serverlock.c
serverlock.h
strcasecmp.c
os: drop own implementation of strcasecmp() and strncasecmp()
2025-06-12 17:21:46 +02:00
strcasestr.c
drop obsolete HAVE_DIX_CONFIG_H
2024-10-10 13:38:31 +00:00
string.c
os: unexport xstrtokenize()
2025-06-12 17:21:44 +02:00
strlcat.c
os/strlcpy, os/strlcat: add restrict qualifiers to dst and src pointers
2026-06-25 15:45:46 +02:00
strlcpy.c
os/strlcpy, os/strlcat: add restrict qualifiers to dst and src pointers
2026-06-25 15:45:46 +02:00
strndup.c
os: use calloc() instead of malloc()
2025-06-12 16:49:45 +02:00
timingsafe_memcmp.c
transport.c
os: drop symbol TCPCONN
2025-12-13 15:59:07 +01:00
utils.c
os: drop the never-defined XTHREADS_NEEDS_BYNAMEPARAMS blocks
2026-07-01 15:50:50 +02:00
WaitFor.c
treewide: replace min/max macros by non-exported MIN/MAX and deprecate them
2026-06-25 14:06:17 +02:00
xdmauth.c
os: parentheses around macro argument symbols
2026-06-24 15:05:16 +02:00
xdmauth.h
os: auth: generate XIDs in proto funcs only on success
2025-06-12 16:52:56 +02:00
xdmcp.c
os: drop the never-defined XTHREADS_NEEDS_BYNAMEPARAMS blocks
2026-07-01 15:50:50 +02:00
xdmcp.h
os: drop ResetWellKnownSockets() and XdmcpReset()
2025-11-20 19:22:44 +01:00
xhostname.c
os: xhostname: helper for gethostname()
2025-08-07 16:57:43 +02:00
xhostname.h
os: xhostname: helper for gethostname()
2025-08-07 16:57:43 +02:00
xprintf.c
os: drop unused Xscnprintf() and Xvscnprintf()
2025-11-07 09:31:48 +01:00
xserver_poll.c
Revert 9a82f5c, bring back Cygwin support.
2025-12-21 12:59:03 +01:00
xserver_poll.h
os: parentheses around macro argument symbols
2026-06-24 15:05:16 +02:00
xsha1.c
os: fix sha1 build error with Nettle 4.0
2026-03-16 13:02:37 +01:00
xsha1.h
Xtrans.c
os: xtrans: drop some unused defines
2026-01-07 10:56:57 +01:00
Xtrans.h
os: xtrans: drop status pointer from *Accept() functions
2025-12-12 13:47:15 +01:00
Xtransint.h
os: xtrans: define trans_mkdir() when UNIXCONN is enabled
2025-12-13 15:46:11 +01:00
Xtranssock.c
os: drop the never-defined XTHREADS_NEEDS_BYNAMEPARAMS blocks
2026-07-01 15:50:50 +02:00
Xtransutil.c
os: parentheses around macro argument symbols
2026-06-24 15:05:16 +02:00