chiark / gitweb /
use #pragma once instead of foo*foo #define guards
[elogind.git] / src / journal / lookup3.h
index 31cc2f57b04cf00ca3607b4435d60df1f76f95fa..502b42c209ea69d19cfca4984a7f925d6dc910fc 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef foolookup3hfoo
-#define foolookup3hfoo
+#pragma once
 
 #include <inttypes.h>
 #include <sys/types.h>
@@ -21,5 +20,3 @@ static inline uint64_t hash64(const void *data, size_t length) {
 
         return ((uint64_t) a << 32ULL) | (uint64_t) b;
 }
-
-#endif