#pragma once here and there

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2015-01-23 09:30:44 -05:00
parent 6825a04de6
commit c9403dced7
15 changed files with 30 additions and 0 deletions
+2
View File
@@ -19,6 +19,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#pragma once
#include <stdbool.h>
#include <sys/types.h>
+2
View File
@@ -19,6 +19,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#pragma once
#include <endian.h>
#include "sd-id128.h"
+2
View File
@@ -4,6 +4,8 @@
* Copyright 2000, 2005 Red Hat, Inc.
*/
#pragma once
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
+2
View File
@@ -19,6 +19,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#pragma once
#include <stdbool.h>
bool session_id_valid(const char *id);
+2
View File
@@ -19,6 +19,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#pragma once
void sigbus_install(void);
void sigbus_reset(void);
+2
View File
@@ -19,6 +19,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#pragma once
int parse_sleep_config(const char *verb, char ***modes, char ***states);
int can_sleep(const char *verb);