[sr-dev] git:5.3:ac1b7f30: pua: use file name specific include guard

Daniel-Constantin Mierla miconda at gmail.com
Thu May 7 08:21:36 CEST 2020


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-05-07T08:20:53+02:00

pua: use file name specific include guard

(cherry picked from commit 076649793bfdbdc4f03f96961f23997c87ce4268)

---

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

---

Diff:  https://github.com/kamailio/kamailio/commit/ac1b7f30b4cdc6d48d77f19421822300bcaa34be.diff
Patch: https://github.com/kamailio/kamailio/commit/ac1b7f30b4cdc6d48d77f19421822300bcaa34be.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