Ignore:
Timestamp:
Aug 25, 2015 8:45:46 AM (7 years ago)
Author:
nanang
Message:

Re #1881: Fixed compile warnings on VS2015 about declaration hides previous declaration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/httpdemo.c

    r3553 r5170  
    4444#define THIS_FILE           "http_demo" 
    4545 
    46 static void on_response(pj_http_req *http_req, const pj_http_resp *resp) 
     46static void on_response(pj_http_req *req, const pj_http_resp *resp) 
    4747{ 
    4848    unsigned i; 
    4949 
    50     PJ_UNUSED_ARG(http_req); 
     50    PJ_UNUSED_ARG(req); 
    5151    PJ_LOG(3,(THIS_FILE, "%.*s %d %.*s", (int)resp->version.slen, resp->version.ptr, 
    5252                                           resp->status_code, 
     
    6666} 
    6767 
    68 static void on_send_data(pj_http_req *http_req, void **data, pj_size_t *size) 
     68static void on_send_data(pj_http_req *req, void **data, pj_size_t *size) 
    6969{ 
    70         PJ_UNUSED_ARG(http_req); 
     70        PJ_UNUSED_ARG(req); 
    7171        PJ_UNUSED_ARG(size); 
    7272        PJ_UNUSED_ARG(data); 
Note: See TracChangeset for help on using the changeset viewer.