Use #pragma once

#pragma once is safer and simpler. According to Wikipedia it's supported by all major compilers.
This commit is contained in:
Alexander Kedrik
2013-12-29 06:11:50 +04:00
committed by Michael Stapelberg
parent 67b213665b
commit e2ebe3e2ae
64 changed files with 64 additions and 254 deletions

View File

@ -10,8 +10,7 @@
* the appropriate workspace.
*
*/
#ifndef I3_STARTUP_H
#define I3_STARTUP_H
#pragma once
#define SN_API_NOT_YET_FROZEN 1
#include <libsn/sn-monitor.h>
@ -62,5 +61,3 @@ struct Startup_Sequence *startup_sequence_get(i3Window *cwindow,
*
*/
char *startup_workspace_for_window(i3Window *cwindow, xcb_get_property_reply_t *startup_id_reply);
#endif