Committer: Diego Biurrun <diego@xxxxxxxxxx> Date: 22/04/2010 at 13:06:59 Revision: 4403 Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: Fix #endif comments of multiple inclusion guards. For consistency and readability reasons the #endifs of multiple inclusion guards should be commented with the guard name. Modified: M firewall/conntrack.h M firewall/firewall.h M firewall/helpers.h M firewall/lsi.h M firewall/midauth.h M firewall/opptcp.h M firewall/pisa.h M firewall/pisa_cert.h M firewall/rule_management.h M lib/conf/hipconf.h M lib/opphip/wrap_db.h === modified file 'firewall/conntrack.h' --- firewall/conntrack.h 2010-04-21 14:47:24 +0000 +++ firewall/conntrack.h 2010-04-22 10:05:56 +0000 @@ -38,4 +38,4 @@ const struct in6_addr *dst_hit); int hipfw_relay_esp(const hip_fw_context_t *ctx); -#endif +#endif /* HIP_FIREWALL_CONNTRACK_H */ === modified file 'firewall/firewall.h' --- firewall/firewall.h 2010-04-20 12:17:05 +0000 +++ firewall/firewall.h 2010-04-22 10:05:56 +0000 @@ -32,4 +32,4 @@ hip_hit_t *hip_fw_get_default_hit(void); hip_lsi_t *hip_fw_get_default_lsi(void); -#endif +#endif /* HIP_FIREWALL_FIREWALL_H */ === modified file 'firewall/helpers.h' --- firewall/helpers.h 2010-03-19 09:00:54 +0000 +++ firewall/helpers.h 2010-04-22 10:05:56 +0000 @@ -15,4 +15,5 @@ char *addr_to_numeric(const struct in6_addr *addrp); struct in6_addr *numeric_to_addr(const char *num); void system_print(char *command); -#endif //helpers + +#endif /* HIP_FIREWALL_HELPERS_H */ === modified file 'firewall/lsi.h' --- firewall/lsi.h 2010-04-21 14:47:24 +0000 +++ firewall/lsi.h 2010-04-22 10:05:56 +0000 @@ -44,4 +44,5 @@ in_port_t *dst_tcp_port, int *fallback, int *reject); -#endif + +#endif /* HIP_FIREWALL_LSI_H */ === modified file 'firewall/midauth.h' --- firewall/midauth.h 2010-04-21 14:47:24 +0000 +++ firewall/midauth.h 2010-04-22 10:05:56 +0000 @@ -85,4 +85,4 @@ int midauth_filter_hip(hip_fw_context_t *ctx); -#endif +#endif /* HIP_FIREWALL_MIDAUTH_H */ === modified file 'firewall/opptcp.h' --- firewall/opptcp.h 2010-03-19 09:00:54 +0000 +++ firewall/opptcp.h 2010-04-22 10:05:56 +0000 @@ -10,4 +10,4 @@ int header_size); int tcp_packet_has_i1_option(void *tcphdrBytes, int hdrLen); -#endif +#endif /* HIP_FIREWALL_OPPTCP_H */ === modified file 'firewall/pisa.h' --- firewall/pisa.h 2010-03-18 21:15:21 +0000 +++ firewall/pisa.h 2010-04-22 10:05:56 +0000 @@ -28,4 +28,4 @@ */ void pisa_check_for_random_update(void); -#endif +#endif /* HIP_FIREWALL_PISA_H */ === modified file 'firewall/pisa_cert.h' --- firewall/pisa_cert.h 2010-03-18 21:15:21 +0000 +++ firewall/pisa_cert.h 2010-04-22 10:05:56 +0000 @@ -29,4 +29,4 @@ */ void pisa_split_cert(char *cert, struct pisa_cert *pc); -#endif +#endif /* HIP_FIREWALL_PISA_CERT_H */ === modified file 'firewall/rule_management.h' --- firewall/rule_management.h 2010-04-13 10:57:54 +0000 +++ firewall/rule_management.h 2010-04-22 10:05:56 +0000 @@ -66,4 +66,4 @@ DList *read_rules(const int hook); void read_rules_exit(const int hook); -#endif +#endif /* HIP_FIREWALL_RULE_MANAGEMENT_H */ === modified file 'lib/conf/hipconf.h' --- lib/conf/hipconf.h 2010-04-14 18:51:38 +0000 +++ lib/conf/hipconf.h 2010-04-22 10:05:56 +0000 @@ -201,4 +201,5 @@ const char *opt[], int optc, int send_only); -#endif /* HIPCONF */ + +#endif /* HIP_LIB_CONF_HIPCONF_H */ === modified file 'lib/opphip/wrap_db.h' --- lib/opphip/wrap_db.h 2010-04-21 17:12:49 +0000 +++ lib/opphip/wrap_db.h 2010-04-22 10:05:56 +0000 @@ -50,4 +50,4 @@ int hip_exists_translation(int pid, int socket, pthread_t tid); void hip_socketdb_del_entry_by_entry(hip_opp_socket_t *entry); -#endif +#endif /* HIP_LIB_OPPHIP_WRAP_DB_H */