From 1d04157785b1dad73d955046a4b67e5d55bc535a Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 13 Sep 2014 01:17:54 +0200 Subject: Properly rename header guards according to C++ standard --- include/usbmuxd-proto.h | 6 +++--- include/usbmuxd.h | 6 +++--- src/collection.h | 4 ++-- src/socket.h | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/usbmuxd-proto.h b/include/usbmuxd-proto.h index be9e709..c260310 100644 --- a/include/usbmuxd-proto.h +++ b/include/usbmuxd-proto.h @@ -22,8 +22,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ /* Protocol defintion for usbmuxd proxy protocol */ -#ifndef __USBMUXD_PROTO_H -#define __USBMUXD_PROTO_H +#ifndef USBMUXD_PROTO_H +#define USBMUXD_PROTO_H #include #define USBMUXD_PROTOCOL_VERSION 0 @@ -94,4 +94,4 @@ struct usbmuxd_device_record { } #endif -#endif /* __USBMUXD_PROTO_H */ +#endif /* USBMUXD_PROTO_H */ diff --git a/include/usbmuxd.h b/include/usbmuxd.h index 75a42f5..3f61fae 100644 --- a/include/usbmuxd.h +++ b/include/usbmuxd.h @@ -21,8 +21,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __USBMUXD_H -#define __USBMUXD_H +#ifndef USBMUXD_H +#define USBMUXD_H #include #ifdef __cplusplus @@ -231,4 +231,4 @@ void libusbmuxd_set_debug_level(int level); } #endif -#endif /* __USBMUXD_H */ +#endif /* USBMUXD_H */ diff --git a/src/collection.h b/src/collection.h index e9b6403..2edc842 100644 --- a/src/collection.h +++ b/src/collection.h @@ -20,8 +20,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __COLLECTION_H__ -#define __COLLECTION_H__ +#ifndef COLLECTION_H +#define COLLECTION_H struct collection { void **list; diff --git a/src/socket.h b/src/socket.h index c2b2599..a2c1354 100644 --- a/src/socket.h +++ b/src/socket.h @@ -19,8 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __SOCKET_SOCKET_H -#define __SOCKET_SOCKET_H +#ifndef SOCKET_SOCKET_H +#define SOCKET_SOCKET_H #include #include @@ -62,4 +62,4 @@ int socket_send(int fd, void *data, size_t size); void socket_set_verbose(int level); -#endif /* __SOCKET_SOCKET_H */ +#endif /* SOCKET_SOCKET_H */ -- cgit v1.1-32-gdbae