Skip to content

Commit

Permalink
Properly rename header guards according to C++ standard
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed Sep 12, 2014
1 parent e5fbc1d commit 1d04157
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions include/usbmuxd-proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -94,4 +94,4 @@ struct usbmuxd_device_record {
}
#endif

#endif /* __USBMUXD_PROTO_H */
#endif /* USBMUXD_PROTO_H */
6 changes: 3 additions & 3 deletions include/usbmuxd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -231,4 +231,4 @@ void libusbmuxd_set_debug_level(int level);
}
#endif

#endif /* __USBMUXD_H */
#endif /* USBMUXD_H */
4 changes: 2 additions & 2 deletions src/collection.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions src/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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 */

0 comments on commit 1d04157

Please sign in to comment.