summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-types.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-07-09 18:53:22 -0400
committerColin Walters <walters@verbum.org>2013-07-09 18:53:22 -0400
commit5ad0671cd2f43ba00429074c7a026df26ba61663 (patch)
tree802fdc2c710faa3326402487519721c6c113eeff /src/libostree/ostree-types.h
parent7f48c77204ab4935088032ea7f85ae1ce6f64ea7 (diff)
downloadostree-5ad0671cd2f43ba00429074c7a026df26ba61663.tar.gz
Switch to #pragma once for headers
It's just less tedious, and we're GCC/LLVM specific anyways.
Diffstat (limited to 'src/libostree/ostree-types.h')
-rw-r--r--src/libostree/ostree-types.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libostree/ostree-types.h b/src/libostree/ostree-types.h
index af1ae0dc..5370aac7 100644
--- a/src/libostree/ostree-types.h
+++ b/src/libostree/ostree-types.h
@@ -20,8 +20,7 @@
* Author: Colin Walters <walters@verbum.org>
*/
-#ifndef _OSTREE_TYPES
-#define _OSTREE_TYPES
+#pragma once
#include <gio/gio.h>
@@ -36,4 +35,3 @@ typedef struct OstreeRepoFile OstreeRepoFile;
G_END_DECLS
-#endif