diff options
| -rw-r--r-- | src/client.h | 4 | ||||
| -rw-r--r-- | src/conf.h | 4 | ||||
| -rw-r--r-- | src/device.h | 5 | ||||
| -rw-r--r-- | src/log.h | 5 | ||||
| -rw-r--r-- | src/preflight.h | 4 | ||||
| -rw-r--r-- | src/usb.h | 4 | ||||
| -rw-r--r-- | src/usbmuxd-proto.h | 6 | ||||
| -rw-r--r-- | src/utils.h | 4 |
8 files changed, 18 insertions, 18 deletions
diff --git a/src/client.h b/src/client.h index 60d8348..516d552 100644 --- a/src/client.h +++ b/src/client.h | |||
| @@ -19,8 +19,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| 19 | 19 | ||
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __CLIENT_H__ | 22 | #ifndef CLIENT_H |
| 23 | #define __CLIENT_H__ | 23 | #define CLIENT_H |
| 24 | 24 | ||
| 25 | #include <stdint.h> | 25 | #include <stdint.h> |
| 26 | #include "usbmuxd-proto.h" | 26 | #include "usbmuxd-proto.h" |
| @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| 18 | 18 | ||
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #ifndef __CONF_H__ | 21 | #ifndef CONF_H |
| 22 | #define __CONF_H__ | 22 | #define CONF_H |
| 23 | 23 | ||
| 24 | #ifdef HAVE_CONFIG_H | 24 | #ifdef HAVE_CONFIG_H |
| 25 | #include <config.h> | 25 | #include <config.h> |
diff --git a/src/device.h b/src/device.h index cb5bc24..37f0c3c 100644 --- a/src/device.h +++ b/src/device.h | |||
| @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| 18 | 18 | ||
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #ifndef __DEVICE_H__ | 21 | #ifndef DEVICE_H |
| 22 | #define __DEVICE_H__ | 22 | #define DEVICE_H |
| 23 | 23 | ||
| 24 | #include "usb.h" | 24 | #include "usb.h" |
| 25 | #include "client.h" | 25 | #include "client.h" |
| @@ -52,4 +52,5 @@ void device_check_timeouts(void); | |||
| 52 | void device_init(void); | 52 | void device_init(void); |
| 53 | void device_kill_connections(void); | 53 | void device_kill_connections(void); |
| 54 | void device_shutdown(void); | 54 | void device_shutdown(void); |
| 55 | |||
| 55 | #endif | 56 | #endif |
| @@ -19,8 +19,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| 19 | 19 | ||
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __LOG_H__ | 22 | #ifndef LOG_H |
| 23 | #define __LOG_H__ | 23 | #define LOG_H |
| 24 | 24 | ||
| 25 | enum loglevel { | 25 | enum loglevel { |
| 26 | LL_FATAL = 0, | 26 | LL_FATAL = 0, |
| @@ -40,5 +40,4 @@ void log_disable_syslog(); | |||
| 40 | 40 | ||
| 41 | void usbmuxd_log(enum loglevel level, const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); | 41 | void usbmuxd_log(enum loglevel level, const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); |
| 42 | 42 | ||
| 43 | |||
| 44 | #endif | 43 | #endif |
diff --git a/src/preflight.h b/src/preflight.h index 4c8aa60..0a449e5 100644 --- a/src/preflight.h +++ b/src/preflight.h | |||
| @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| 18 | 18 | ||
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #ifndef __PREFLIGHT_H__ | 21 | #ifndef PREFLIGHT_H |
| 22 | #define __PREFLIGHT_H__ | 22 | #define PREFLIGHT_H |
| 23 | 23 | ||
| 24 | #include "device.h" | 24 | #include "device.h" |
| 25 | 25 | ||
| @@ -20,8 +20,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| 20 | 20 | ||
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifndef __USB_H__ | 23 | #ifndef USB_H |
| 24 | #define __USB_H__ | 24 | #define USB_H |
| 25 | 25 | ||
| 26 | #include <stdint.h> | 26 | #include <stdint.h> |
| 27 | #include "utils.h" | 27 | #include "utils.h" |
diff --git a/src/usbmuxd-proto.h b/src/usbmuxd-proto.h index 7842975..58ff4ea 100644 --- a/src/usbmuxd-proto.h +++ b/src/usbmuxd-proto.h | |||
| @@ -21,8 +21,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | /* Protocol defintion for usbmuxd proxy protocol */ | 23 | /* Protocol defintion for usbmuxd proxy protocol */ |
| 24 | #ifndef __USBMUXD_PROTO_H | 24 | #ifndef USBMUXD_PROTO_H |
| 25 | #define __USBMUXD_PROTO_H | 25 | #define USBMUXD_PROTO_H |
| 26 | 26 | ||
| 27 | #include <stdint.h> | 27 | #include <stdint.h> |
| 28 | #define USBMUXD_PROTOCOL_VERSION 0 | 28 | #define USBMUXD_PROTOCOL_VERSION 0 |
| @@ -93,4 +93,4 @@ struct usbmuxd_device_record { | |||
| 93 | } | 93 | } |
| 94 | #endif | 94 | #endif |
| 95 | 95 | ||
| 96 | #endif /* __USBMUXD_PROTO_H */ | 96 | #endif /* USBMUXD_PROTO_H */ |
diff --git a/src/utils.h b/src/utils.h index 92a7d68..0a3093e 100644 --- a/src/utils.h +++ b/src/utils.h | |||
| @@ -20,8 +20,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| 20 | 20 | ||
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifndef __UTILS_H__ | 23 | #ifndef UTILS_H |
| 24 | #define __UTILS_H__ | 24 | #define UTILS_H |
| 25 | 25 | ||
| 26 | #include <poll.h> | 26 | #include <poll.h> |
| 27 | #include <plist/plist.h> | 27 | #include <plist/plist.h> |
