From ebd8da580367ee7174f220eafe467c38f097f1bf Mon Sep 17 00:00:00 2001 From: Sander Speetjens Date: Tue, 14 Oct 2025 12:18:03 +0200 Subject: [PATCH] Replaces header guards with pragma once --- git_version.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/git_version.h b/git_version.h index b836cb9..39ad57e 100644 --- a/git_version.h +++ b/git_version.h @@ -1,6 +1,4 @@ -#ifndef GIT_VERSION_H -#define GIT_VERSION_H - +#pragma once #ifdef __cplusplus namespace Git_version { extern const char* const branch; @@ -19,5 +17,3 @@ extern const char* const Gv_config; extern const bool Gv_dirty; #endif -#endif // GIT_VERSION_H -