mirror of
https://github.com/X11Libre/xf86-video-vmware.git
synced 2026-03-24 01:24:37 +00:00
common_compat.h: fix typo in header guard definition
Found by clang 13.0.1:
./common_compat.h:1:9: warning: '_COMMON_COMPAT_H_' is used as a header
guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _COMMON_COMPAT_H_
^~~~~~~~~~~~~~~~~
./common_compat.h:2:9: note: '_COMMOM_COMPAT_H_' is defined here;
did you mean '_COMMON_COMPAT_H_'?
#define _COMMOM_COMPAT_H_
^~~~~~~~~~~~~~~~~
_COMMON_COMPAT_H_
Fixes: d8c2f85 ("vmware: Fix build warnings")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-vmware/-/merge_requests/14>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef _COMMON_COMPAT_H_
|
||||
#define _COMMOM_COMPAT_H_
|
||||
#define _COMMON_COMPAT_H_
|
||||
|
||||
#if (GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 18)
|
||||
#define CONST_ABI_18_0 const
|
||||
|
||||
Reference in New Issue
Block a user