summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-11-10 14:52:54 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-11-10 14:59:47 -0800
commit55742ee26d6001097ec4ea8f369250215beb229b (patch)
treed87fdcec52f602fe39ce6fecd37392dc3880c043
parent0b9c0acd1c871eaf301ad1119493043ef632a996 (diff)
globals.c: include globals.h to validate global var declarationsHEADmaster
Clears up 9 warnings from clang 13 of the form: globals.c:34:16: warning: no previous extern declaration for non-static variable 'resources' [-Wmissing-variable-declarations] Xman_Resources resources; /* Resource manager sets these. */ ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/app/xman/-/merge_requests/13>
-rw-r--r--globals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.c b/globals.c
index 500cdb2..80b7476 100644
--- a/globals.c
+++ b/globals.c
@@ -29,7 +29,7 @@ from the X Consortium.
*/
-#include "man.h"
+#include "globals.h"
Xman_Resources resources; /* Resource manager sets these. */