solenv/lockfile/lockfile.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
New commits: commit 7f3b61e5f1c95a9745a9406c213e6616055065e1 Author: Ahmed Khaled <gostahmedkha...@gmail.com> AuthorDate: Sat Mar 15 20:23:41 2025 +0200 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Mon Mar 17 18:17:01 2025 +0100 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.bergm...@allotropia.de> 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 */