Use check_header_guards script

This commit is contained in:
def 2020-09-11 00:02:46 +02:00
parent fe0032451b
commit d92e6ecb00
3 changed files with 8 additions and 7 deletions

View file

@ -23,4 +23,5 @@ jobs:
- name: Check style
run: |
clang-format -version
python3 scripts/fix_style.py --dry-run --base "$(git merge-base origin/master $GITHUB_SHA)"
scripts/fix_style.py --dry-run --base "$(git merge-base origin/master $GITHUB_SHA)"
scripts/check_header_guards.py

View file

@ -1,5 +1,5 @@
#ifndef GAME_SERVER_PRNG_H
#define GAME_SERVER_PRNG_H
#ifndef GAME_PRNG_H
#define GAME_PRNG_H
#include <base/system.h>
@ -29,4 +29,4 @@ private:
uint64 m_Increment;
};
#endif // GAME_SERVER_PRNG_H
#endif // GAME_PRNG_H

View file

@ -1,5 +1,5 @@
#ifndef STEAMAPI_STEAM_STEAM_API_FLAT_H
#define STEAMAPI_STEAM_STEAM_API_FLAT_H
#ifndef STEAM_STEAM_API_FLAT_H
#define STEAM_STEAM_API_FLAT_H
#include <base/dynamic.h>
@ -60,4 +60,4 @@ STEAMAPI bool SteamAPI_ISteamFriends_SetRichPresence(ISteamFriends *pSelf, const
}
#endif // STEAMAPI_STEAM_API_FLAT_H
#endif // STEAM_STEAM_API_FLAT_H