Add include guards to peer.h
authorFilippos Giannakos <philipgian@grnet.gr>
Fri, 28 Jun 2013 08:38:51 +0000 (11:38 +0300)
committerFilippos Giannakos <philipgian@grnet.gr>
Mon, 8 Jul 2013 09:03:26 +0000 (12:03 +0300)
xseg/peers/user/peer.h

index 0542261..ed477bf 100644 (file)
  * or implied, of GRNET S.A.
  */
 
+#ifndef PEER_H
+
+#define PEER_H
+
 #include <stddef.h>
 #include <xseg/xseg.h>
 
@@ -177,3 +181,5 @@ int dispatch(struct peerd *peer, struct peer_req *pr, struct xseg_request *req,
                enum dispatch_reason reason);
 
 void custom_peer_usage();
+
+#endif /* end of PEER_H */