diff options
author | Colin Walters <walters@verbum.org> | 2016-05-18 09:41:31 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2016-05-19 02:41:33 +0000 |
commit | fdf82f9b148c72c343286627af07bca002ecf99a (patch) | |
tree | e33669cb56ed770a7c85e611f6fdc0f8d6a7780a /utils.h | |
parent | 649a4efbb8439302f15be35563fe19ef2fc248b8 (diff) | |
download | bubblewrap-fdf82f9b148c72c343286627af07bca002ecf99a.tar.gz |
Use #pragma once for headers
It's shorter and more reliable. Also GCC/CLang specific, but that's
fine because that's all we support anyways.
Closes: #69
Closes: #70
Approved by: mrunalp
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -16,8 +16,7 @@ * */ -#ifndef __UTILS_H__ -#define __UTILS_H__ +#pragma once #include <assert.h> #include <dirent.h> @@ -163,5 +162,3 @@ steal_pointer (void *pp) /* type safety */ #define steal_pointer(pp) \ (0 ? (*(pp)) : (steal_pointer) (pp)) - -#endif /* __UTILS_H__ */ |