[sr-dev] git:master:07664979: pua: use file name specific include guard

Daniel-Constantin Mierla miconda at gmail.com
Wed May 6 17:16:40 CEST 2020


Module: kamailio
Branch: master
Commit: 076649793bfdbdc4f03f96961f23997c87ce4268
URL: https://github.com/kamailio/kamailio/commit/076649793bfdbdc4f03f96961f23997c87ce4268

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-05-06T17:15:36+02:00

pua: use file name specific include guard

---

Modified: src/modules/pua/hash.h
Modified: src/modules/pua/pua.h

---

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

---

diff --git a/src/modules/pua/hash.h b/src/modules/pua/hash.h
index cc73d3e761..454e4bb853 100644
--- a/src/modules/pua/hash.h
+++ b/src/modules/pua/hash.h
@@ -15,8 +15,8 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License 
- * along with this program; if not, write to the Free Software 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
diff --git a/src/modules/pua/pua.h b/src/modules/pua/pua.h
index 57cc379ebe..908f5b0cb3 100644
--- a/src/modules/pua/pua.h
+++ b/src/modules/pua/pua.h
@@ -15,13 +15,13 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License 
- * along with this program; if not, write to the Free Software 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef PUBLISH_H
-#define PUBLISH_H
+#ifndef _PUA_H_
+#define _PUA_H_
 
 #include "../../core/str.h"
 #include "../../lib/srdb1/db.h"




More information about the sr-dev mailing list