summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-09-13 01:17:54 +0200
committerGravatar Nikias Bassen2014-09-13 01:17:54 +0200
commit1d04157785b1dad73d955046a4b67e5d55bc535a (patch)
tree1664010978920b1f1aff1013fec037ed953c5b60 /src
parente5fbc1dce53acbb92d1aaa83b2784c25f286f80f (diff)
downloadlibusbmuxd-1d04157785b1dad73d955046a4b67e5d55bc535a.tar.gz
libusbmuxd-1d04157785b1dad73d955046a4b67e5d55bc535a.tar.bz2
Properly rename header guards according to C++ standard
Diffstat (limited to 'src')
-rw-r--r--src/collection.h4
-rw-r--r--src/socket.h6
2 files changed, 5 insertions, 5 deletions
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 */