diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2014-01-23 08:13:11 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2014-01-23 08:13:11 +0000 |
commit | 102c9ba757dfa17896e4d59ff8ff03edbc4d7524 (patch) | |
tree | 35489aebaaa4faff9bddd9c5b273d1621caa12cd /pjlib-util | |
parent | 19876d4d3296c6cb7b3e573bdfcc8fedf0072ac3 (diff) |
Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir Cohen for the patch).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib-util')
-rw-r--r-- | pjlib-util/src/pjlib-util/base64.c | 2 | ||||
-rw-r--r-- | pjlib-util/src/pjlib-util/getopt.c | 2 | ||||
-rw-r--r-- | pjlib-util/src/pjlib-util/http_client.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/pjlib-util/src/pjlib-util/base64.c b/pjlib-util/src/pjlib-util/base64.c index b28e7527..42d0e47e 100644 --- a/pjlib-util/src/pjlib-util/base64.c +++ b/pjlib-util/src/pjlib-util/base64.c @@ -24,7 +24,7 @@ #define INV -1 #define PADDING '=' -const char base64_char[] = { +static const char base64_char[] = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', diff --git a/pjlib-util/src/pjlib-util/getopt.c b/pjlib-util/src/pjlib-util/getopt.c index 6edf186a..0a560f02 100644 --- a/pjlib-util/src/pjlib-util/getopt.c +++ b/pjlib-util/src/pjlib-util/getopt.c @@ -111,7 +111,7 @@ int pj_optind = 1; causes problems with re-calling pj_getopt as programs generally don't know that. */ -int __getopt_initialized = 0; +static int __getopt_initialized = 0; /* The next char to be scanned in the option-element in which the last option character we returned was found. diff --git a/pjlib-util/src/pjlib-util/http_client.c b/pjlib-util/src/pjlib-util/http_client.c index 74884d63..5612ca8e 100644 --- a/pjlib-util/src/pjlib-util/http_client.c +++ b/pjlib-util/src/pjlib-util/http_client.c @@ -1496,8 +1496,8 @@ on_error: /* snprintf() to a pj_str_t struct with an option to append the * result at the back of the string. */ -void str_snprintf(pj_str_t *s, size_t size, - pj_bool_t append, const char *format, ...) +static void str_snprintf(pj_str_t *s, size_t size, + pj_bool_t append, const char *format, ...) { va_list arg; int retval; |