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>
This commit is contained in:
committed by
Stephan Bergmann
parent
39c6e59938
commit
7f3b61e5f1
@@ -10,8 +10,8 @@
|
|||||||
* General Public License can be found in `/usr/doc/copyright/LGPL'.
|
* 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/
|
* 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
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -68,5 +68,3 @@ int lockfile_create_set_tmplock(const char *lockfile, volatile char **tmplock,
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _LOCKFILE_H */
|
|
||||||
|
|||||||
Reference in New Issue
Block a user