From 5268fbd7cffabc2fd7cf6b1ca6515378d55ee0ff Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 10 Nov 2024 12:04:33 -0800 Subject: [PATCH] xkbtext_priv.h: fix typo in header guard definition Found by clang 13.0.1: ../xkb/xkbtext_priv.h:5:9: warning: '_XSERVER_XKB_XKBTEXT_PRIV_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _XSERVER_XKB_XKBTEXT_PRIV_H ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xkb/xkbtext_priv.h:6:9: note: '_XSERVER_XKB_XKBTEXt_PRIV_H' is defined here; did you mean '_XSERVER_XKB_XKBTEXT_PRIV_H'? #define _XSERVER_XKB_XKBTEXt_PRIV_H ^~~~~~~~~~~~~~~~~~~~~~~~~~~ _XSERVER_XKB_XKBTEXT_PRIV_H Fixes: 434044cb0 ("xkb: unexport functions from xkbtext.c") Signed-off-by: Alan Coopersmith Part-of: --- xkb/xkbtext_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xkb/xkbtext_priv.h b/xkb/xkbtext_priv.h index a76283784..0841002a4 100644 --- a/xkb/xkbtext_priv.h +++ b/xkb/xkbtext_priv.h @@ -3,7 +3,7 @@ * Copyright © 2024 Enrico Weigelt, metux IT consult */ #ifndef _XSERVER_XKB_XKBTEXT_PRIV_H -#define _XSERVER_XKB_XKBTEXt_PRIV_H +#define _XSERVER_XKB_XKBTEXT_PRIV_H #include