[sr-dev] git:5.3:b03c2cc7: snmpstats: use file name specific include guard

Daniel-Constantin Mierla miconda at gmail.com
Wed May 6 12:27:28 CEST 2020


Module: kamailio
Branch: 5.3
Commit: b03c2cc751524197530899c38ca2e44845595e76
URL: https://github.com/kamailio/kamailio/commit/b03c2cc751524197530899c38ca2e44845595e76

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-05-06T12:03:07+02:00

snmpstats: use file name specific include guard

(cherry picked from commit 13622cf6e36e50c42ec882272b1c48107fa55677)

---

Modified: src/modules/snmpstats/snmp_statistics.h

---

Diff:  https://github.com/kamailio/kamailio/commit/b03c2cc751524197530899c38ca2e44845595e76.diff
Patch: https://github.com/kamailio/kamailio/commit/b03c2cc751524197530899c38ca2e44845595e76.patch

---

diff --git a/src/modules/snmpstats/snmp_statistics.h b/src/modules/snmpstats/snmp_statistics.h
index 3ab4c4a98d..8bca2afee4 100644
--- a/src/modules/snmpstats/snmp_statistics.h
+++ b/src/modules/snmpstats/snmp_statistics.h
@@ -27,8 +27,8 @@
  */
 
 
-#ifndef _KSTATISTICS_H_
-#define _KSTATISTICS_H_
+#ifndef _SNMP_KSTATISTICS_H_
+#define _SNMP_KSTATISTICS_H_
 
 #include "../../core/counters.h"
 
@@ -106,4 +106,4 @@ int get_socket_list_from_proto_and_family(
  */
 int get_total_bytes_waiting(void);
 
-#endif
\ No newline at end of file
+#endif




More information about the sr-dev mailing list