]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/include/ipc.h
ensure align = left is the default and update documentation accordingly
[i3/i3] / i3bar / include / ipc.h
index f20d45f0a12463be617551c5d30728a905cc7d94..c357be89e8efc7087a57a8a9a1cbc7e25b495607 100644 (file)
@@ -7,8 +7,7 @@
  * ipc.c: Communicating with i3
  *
  */
-#ifndef IPC_H_
-#define IPC_H_
+#pragma once
 
 #include <stdint.h>
 
@@ -30,12 +29,10 @@ void destroy_connection(void);
  * type must be a valid I3_IPC_MESSAGE_TYPE (see i3/ipc.h for further information)
  *
  */
-int i3_send_msg(uint32_t type, const charpayload);
+int i3_send_msg(uint32_t type, const char *payload);
 
 /*
  * Subscribe to all the i3-events, we need
  *
  */
 void subscribe_events(void);
-
-#endif