chiark / gitweb /
__thread --> thread_local for C11 compat
[elogind.git] / src / shared / ratelimit.h
index ad00267a6e5c3c0181d62c9c684bd8be635d9b5e..58efca7df14108884546dc16c69bb9bba5f2ad73 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef fooratelimithfoo
-#define fooratelimithfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -56,5 +55,3 @@ typedef struct RateLimit {
         } while (false)
 
 bool ratelimit_test(RateLimit *r);
-
-#endif