diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-07-11 00:56:07 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-07-11 00:56:07 +0000 |
commit | d5b0a53c2093c4363d6503b848acdc02639d49d2 (patch) | |
tree | d368bfa1cd953088f28bae9561507c63f31fb5be | |
parent | 631da1ea7d2af6aa636d5cc11b5e823631c9623a (diff) |
Fixed gcc function is not a prototype warnings
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2121 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | pjlib/include/pj/guid.h | 4 | ||||
-rw-r--r-- | pjlib/include/pj/pool.h | 2 | ||||
-rw-r--r-- | pjsip/include/pjsip-simple/evsub.h | 4 | ||||
-rw-r--r-- | pjsip/include/pjsip-ua/sip_xfer.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/pjlib/include/pj/guid.h b/pjlib/include/pj/guid.h index cabdcba5..70a75725 100644 --- a/pjlib/include/pj/guid.h +++ b/pjlib/include/pj/guid.h @@ -1,4 +1,4 @@ -/* $Id:$ */ +/* $Id$ */ /* * Copyright (C)2003-2008 Benny Prijono <benny@prijono.org> * @@ -62,7 +62,7 @@ PJ_DECL_DATA(const unsigned) PJ_GUID_STRING_LENGTH; /** * Get #PJ_GUID_STRING_LENGTH constant. */ -PJ_DECL(unsigned) pj_GUID_STRING_LENGTH(); +PJ_DECL(unsigned) pj_GUID_STRING_LENGTH(void); /** * PJ_GUID_MAX_LENGTH specifies the maximum length of GUID string, diff --git a/pjlib/include/pj/pool.h b/pjlib/include/pj/pool.h index 14d0fc8e..e8fa943f 100644 --- a/pjlib/include/pj/pool.h +++ b/pjlib/include/pj/pool.h @@ -622,7 +622,7 @@ PJ_DECL_DATA(int) PJ_NO_MEMORY_EXCEPTION; /** * Get #PJ_NO_MEMORY_EXCEPTION constant. */ -PJ_DECL(int) pj_NO_MEMORY_EXCEPTION(); +PJ_DECL(int) pj_NO_MEMORY_EXCEPTION(void); /** * This global variable points to default memory pool factory policy. diff --git a/pjsip/include/pjsip-simple/evsub.h b/pjsip/include/pjsip-simple/evsub.h index 1ffffbe4..25ad4891 100644 --- a/pjsip/include/pjsip-simple/evsub.h +++ b/pjsip/include/pjsip-simple/evsub.h @@ -214,12 +214,12 @@ PJ_DECL_DATA(const pjsip_method) pjsip_notify_method; /** * SUBSCRIBE method constant. */ -PJ_DECL(const pjsip_method*) pjsip_get_subscribe_method(); +PJ_DECL(const pjsip_method*) pjsip_get_subscribe_method(void); /** * NOTIFY method constant. */ -PJ_DECL(const pjsip_method*) pjsip_get_notify_method(); +PJ_DECL(const pjsip_method*) pjsip_get_notify_method(void); /** diff --git a/pjsip/include/pjsip-ua/sip_xfer.h b/pjsip/include/pjsip-ua/sip_xfer.h index 05614c21..ef2611ab 100644 --- a/pjsip/include/pjsip-ua/sip_xfer.h +++ b/pjsip/include/pjsip-ua/sip_xfer.h @@ -65,7 +65,7 @@ PJ_BEGIN_DECL PJ_DECL_DATA(const pjsip_method) pjsip_refer_method; /** Get REFER method constant */ -PJ_DECL(const pjsip_method*) pjsip_get_refer_method(); +PJ_DECL(const pjsip_method*) pjsip_get_refer_method(void); /** |