mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Use check_header_guards script
This commit is contained in:
parent
fe0032451b
commit
d92e6ecb00
3
.github/workflows/style.yml
vendored
3
.github/workflows/style.yml
vendored
|
@ -23,4 +23,5 @@ jobs:
|
||||||
- name: Check style
|
- name: Check style
|
||||||
run: |
|
run: |
|
||||||
clang-format -version
|
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
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef GAME_SERVER_PRNG_H
|
#ifndef GAME_PRNG_H
|
||||||
#define GAME_SERVER_PRNG_H
|
#define GAME_PRNG_H
|
||||||
|
|
||||||
#include <base/system.h>
|
#include <base/system.h>
|
||||||
|
|
||||||
|
@ -29,4 +29,4 @@ private:
|
||||||
uint64 m_Increment;
|
uint64 m_Increment;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GAME_SERVER_PRNG_H
|
#endif // GAME_PRNG_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef STEAMAPI_STEAM_STEAM_API_FLAT_H
|
#ifndef STEAM_STEAM_API_FLAT_H
|
||||||
#define STEAMAPI_STEAM_STEAM_API_FLAT_H
|
#define STEAM_STEAM_API_FLAT_H
|
||||||
|
|
||||||
#include <base/dynamic.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
|
||||||
|
|
Loading…
Reference in a new issue