]> git.sur5r.net Git - i3/i3/blobdiff - include/shmlog.h
Merge pull request #1451 from acrisci/feature/handle-button-release
[i3/i3] / include / shmlog.h
index 94da2bdb5065fc3e47c4d5d2ecf4d7f14872812f..5af697e708ff90283585893f5a81df418666282d 100644 (file)
@@ -8,8 +8,7 @@
  * default (ringbuffer for storing the debug log).
  *
  */
-#ifndef I3_I3_SHMLOG_H
-#define I3_I3_SHMLOG_H
+#pragma once
 
 #include <stdint.h>
 #include <pthread.h>
@@ -43,5 +42,3 @@ typedef struct i3_shmlog_header {
      * tail -f) in an efficient way. */
     pthread_cond_t condvar;
 } i3_shmlog_header;
-
-#endif