summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmed Khaled <gostahmedkhaled@gmail.com>2025-03-15 20:23:41 +0200
committerStephan Bergmann <stephan.bergmann@allotropia.de>2025-03-17 18:17:01 +0100
commit7f3b61e5f1c95a9745a9406c213e6616055065e1 (patch)
tree5273736e83ea5f5d820910ce45b44fabe68512a6
parent39c6e59938f634c2fe40d81620c43a00a1f0e380 (diff)
tdf#143148: Use pragma once instead of include guards
Change-Id: I03d2f624fedb22a00c3360ac6c46a810100ec6b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182969 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
-rw-r--r--solenv/lockfile/lockfile.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/solenv/lockfile/lockfile.h b/solenv/lockfile/lockfile.h
index f2f72022f49e..d807c9ae130e 100644
--- a/solenv/lockfile/lockfile.h
+++ b/solenv/lockfile/lockfile.h
@@ -10,8 +10,8 @@
* General Public License can be found in `/usr/doc/copyright/LGPL'.
* You can also find a copy on the GNU website at http://www.gnu.org/
*/
-#ifndef LOCKFILE_H_
-#define LOCKFILE_H_
+
+#pragma once
#ifdef __cplusplus
extern "C" {
@@ -68,5 +68,3 @@ int lockfile_create_set_tmplock(const char *lockfile, volatile char **tmplock,
#ifdef __cplusplus
}
#endif
-
-#endif /* _LOCKFILE_H */