summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/samples/httpdemo.c
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2015-08-25 08:45:46 +0000
committerNanang Izzuddin <nanang@teluu.com>2015-08-25 08:45:46 +0000
commit7ffa781dc39a7274692d8db11043b3a9e92e36ce (patch)
tree77653933e1c211dbec6c125da9ec5c28f9eeaa4e /pjsip-apps/src/samples/httpdemo.c
parent1b41ed3f7c9361106a585c1fe43d2338ab94cacc (diff)
Re #1881: Fixed compile warnings on VS2015 about declaration hides previous declaration.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5170 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/samples/httpdemo.c')
-rw-r--r--pjsip-apps/src/samples/httpdemo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pjsip-apps/src/samples/httpdemo.c b/pjsip-apps/src/samples/httpdemo.c
index a1190111..ec49a0f9 100644
--- a/pjsip-apps/src/samples/httpdemo.c
+++ b/pjsip-apps/src/samples/httpdemo.c
@@ -43,11 +43,11 @@ static FILE *f = NULL;
//#define VERBOSE
#define THIS_FILE "http_demo"
-static void on_response(pj_http_req *http_req, const pj_http_resp *resp)
+static void on_response(pj_http_req *req, const pj_http_resp *resp)
{
unsigned i;
- PJ_UNUSED_ARG(http_req);
+ PJ_UNUSED_ARG(req);
PJ_LOG(3,(THIS_FILE, "%.*s %d %.*s", (int)resp->version.slen, resp->version.ptr,
resp->status_code,
(int)resp->reason.slen, resp->reason.ptr));
@@ -65,9 +65,9 @@ static void on_response(pj_http_req *http_req, const pj_http_resp *resp)
}
}
-static void on_send_data(pj_http_req *http_req, void **data, pj_size_t *size)
+static void on_send_data(pj_http_req *req, void **data, pj_size_t *size)
{
- PJ_UNUSED_ARG(http_req);
+ PJ_UNUSED_ARG(req);
PJ_UNUSED_ARG(size);
PJ_UNUSED_ARG(data);
}