diff options
author | Nikias Bassen | 2014-09-13 01:17:54 +0200 |
---|---|---|
committer | Nikias Bassen | 2014-09-13 01:17:54 +0200 |
commit | 1d04157785b1dad73d955046a4b67e5d55bc535a (patch) | |
tree | 1664010978920b1f1aff1013fec037ed953c5b60 | |
parent | e5fbc1dce53acbb92d1aaa83b2784c25f286f80f (diff) | |
download | libusbmuxd-1d04157785b1dad73d955046a4b67e5d55bc535a.tar.gz libusbmuxd-1d04157785b1dad73d955046a4b67e5d55bc535a.tar.bz2 |
Properly rename header guards according to C++ standard
-rw-r--r-- | include/usbmuxd-proto.h | 6 | ||||
-rw-r--r-- | include/usbmuxd.h | 6 | ||||
-rw-r--r-- | src/collection.h | 4 | ||||
-rw-r--r-- | 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 <stdint.h> #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 <stdint.h> #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 <stdlib.h> #include <stdint.h> @@ -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 */ |