Use #pragma once
#pragma once is safer and simpler. According to Wikipedia it's supported by all major compilers.
This commit is contained in:
committed by
Michael Stapelberg
parent
67b213665b
commit
e2ebe3e2ae
@ -7,8 +7,7 @@
|
||||
* key_press.c: key press handler
|
||||
*
|
||||
*/
|
||||
#ifndef I3_KEY_PRESS_H
|
||||
#define I3_KEY_PRESS_H
|
||||
#pragma once
|
||||
|
||||
extern pid_t command_error_nagbar_pid;
|
||||
|
||||
@ -30,5 +29,3 @@ void handle_key_press(xcb_key_press_event_t *event);
|
||||
*
|
||||
*/
|
||||
void kill_commanderror_nagbar(bool wait_for_it);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user