summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-06 22:59:23 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-06 23:03:12 +0100
commitf4ef809c7e58814cc18fe0712bf4face2d10eef8 (patch)
tree0528adbb8884fcd53fc0bf972c4bab4da3c90f72
parent8569a77629949b7818d00eba8eea1d05e2d1fc32 (diff)
mkdir: modernize header ifdefs
-rw-r--r--src/shared/mkdir.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/shared/mkdir.h b/src/shared/mkdir.h
index 5b34db4229..eb73902fc2 100644
--- a/src/shared/mkdir.h
+++ b/src/shared/mkdir.h
@@ -1,7 +1,6 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foomkdirhfoo
-#define foomkdirhfoo
+#pragma once
/***
This file is part of systemd.
@@ -42,4 +41,3 @@ typedef int (*mkdir_func_t)(const char *pathname, mode_t mode);
int mkdir_safe_internal(const char *path, mode_t mode, uid_t uid, gid_t gid, mkdir_func_t _mkdir);
int mkdir_parents_internal(const char *prefix, const char *path, mode_t mode, mkdir_func_t _mkdir);
int mkdir_p_internal(const char *prefix, const char *path, mode_t mode, mkdir_func_t _mkdir);
-#endif