[sr-dev] git:master: core: renamed pvapi_init.h to pvapi.h

Daniel-Constantin Mierla miconda at gmail.com
Fri Jul 15 22:56:01 CEST 2011


Module: sip-router
Branch: master
Commit: 1f14e6ed5cafa94e74a5fb49401c53da57a57ca1
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1f14e6ed5cafa94e74a5fb49401c53da57a57ca1

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Fri Jul 15 15:43:35 2011 +0200

core: renamed pvapi_init.h to pvapi.h

---

 main.c                  |    2 +-
 pvapi.c                 |    2 +-
 pvapi_init.h => pvapi.h |    9 ++++-----
 3 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/main.c b/main.c
index 0ca144f..f69b394 100644
--- a/main.c
+++ b/main.c
@@ -186,7 +186,7 @@
 #include "cfg_core.h"
 #include "endianness.h" /* init */
 #include "basex.h" /* init */
-#include "pvapi_init.h" /* init */
+#include "pvapi.h" /* init PV api */
 #include "pv_core.h" /* register core pvars */
 #include "ppcfg.h"
 #include "sock_ut.h"
diff --git a/pvapi.c b/pvapi.c
index b75f231..7149bfb 100644
--- a/pvapi.c
+++ b/pvapi.c
@@ -39,7 +39,7 @@
 #include "dprint.h"
 #include "hashes.h"
 #include "route.h"
-#include "pvapi_init.h"
+#include "pvapi.h"
 #include "pvar.h"
 
 #define is_in_str(p, in) (p<in->s+in->len && *p)
diff --git a/pvapi_init.h b/pvapi.h
similarity index 87%
rename from pvapi_init.h
rename to pvapi.h
index 1d4ccd6..26de06b 100644
--- a/pvapi_init.h
+++ b/pvapi.h
@@ -16,16 +16,15 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 /*
- * pvapi_init.h - pvapi init and destroy functions.
+ * pvapi.h - pvapi init and destroy functions.
  */
 
-#ifndef __pvapi_init_h
-#define __pvapi_init_h
+#ifndef __pvapi_h__
+#define __pvapi_h__
 
 int init_pv_api(void);
 void destroy_pv_api(void);
 
-
-#endif /*__pvapi_init_h*/
+#endif /*__pvapi_h_*/
 
 /* vi: set ts=4 sw=4 tw=79:ai:cindent: */




More information about the sr-dev mailing list