Skip to content

common_compat.h: fix typo in header guard definition

Alan Coopersmith requested to merge alanc/xf86-video-vmware:clang into master

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: d8c2f850 ("vmware: Fix build warnings")
Signed-off-by: Alan Coopersmith

Edited by Alan Coopersmith

Merge request reports

Loading