diff options
-rw-r--r-- | lib/asprintf.c | 4 | ||||
-rw-r--r-- | lib/basename.c | 2 | ||||
-rw-r--r-- | lib/dirent_msvc.c | 8 | ||||
-rw-r--r-- | lib/gettimeofday.c | 2 | ||||
-rw-r--r-- | lib/hstrerror.c | 2 | ||||
-rw-r--r-- | lib/os_internal.h | 2 | ||||
-rw-r--r-- | lib/setenv.c | 2 | ||||
-rw-r--r-- | lib/strndup.c | 2 | ||||
-rw-r--r-- | lib/strpbrk.c | 2 | ||||
-rw-r--r-- | lib/strsep.c | 2 | ||||
-rw-r--r-- | lib/strtok_r.c | 4 | ||||
-rw-r--r-- | lib/timegm.c | 2 | ||||
-rw-r--r-- | lib/unsetenv.c | 2 |
13 files changed, 18 insertions, 18 deletions
diff --git a/lib/asprintf.c b/lib/asprintf.c index aecfa9141..43513df6c 100644 --- a/lib/asprintf.c +++ b/lib/asprintf.c @@ -24,7 +24,7 @@ #include <stdlib.h> #include <stdarg.h> -int _xine_private_vasprintf (char **buffer, const char *format, va_list ap) +int xine_private_vasprintf (char **buffer, const char *format, va_list ap) { char *buf = NULL; int size = 128; @@ -53,7 +53,7 @@ int _xine_private_vasprintf (char **buffer, const char *format, va_list ap) } } -int _xine_private_asprintf (char **buffer, const char *format, ...) +int xine_private_asprintf (char **buffer, const char *format, ...) { int ret; va_list ap; diff --git a/lib/basename.c b/lib/basename.c index 06f859483..7ff8db609 100644 --- a/lib/basename.c +++ b/lib/basename.c @@ -9,7 +9,7 @@ #define FILESYSTEM_PREFIX_LEN(filename) 0 #define ISSLASH(C) ((C) == '/') -char *_xine_private_basename(char *name) { +char *xine_private_basename(char *name) { char const *base = name + FILESYSTEM_PREFIX_LEN (name); char const *p; diff --git a/lib/dirent_msvc.c b/lib/dirent_msvc.c index b43fae1ae..19ef88a66 100644 --- a/lib/dirent_msvc.c +++ b/lib/dirent_msvc.c @@ -37,7 +37,7 @@ struct DIR #endif -DIR *_xine_private_opendir(const char *name) +DIR *xine_private_opendir(const char *name) { DIR *dir = 0; @@ -78,7 +78,7 @@ DIR *_xine_private_opendir(const char *name) return dir; } -int _xine_private_closedir(DIR *dir) +int xine_private_closedir(DIR *dir) { int result = -1; @@ -101,7 +101,7 @@ int _xine_private_closedir(DIR *dir) return result; } -struct dirent *_xine_private_readdir(DIR *dir) +struct dirent *xine_private_readdir(DIR *dir) { struct dirent *result = 0; @@ -122,7 +122,7 @@ struct dirent *_xine_private_readdir(DIR *dir) return result; } -void _xine_private_rewinddir(DIR *dir) +void xine_private_rewinddir(DIR *dir) { if(dir && dir->handle != -1) { diff --git a/lib/gettimeofday.c b/lib/gettimeofday.c index fb31f12ef..274b7fca2 100644 --- a/lib/gettimeofday.c +++ b/lib/gettimeofday.c @@ -9,7 +9,7 @@ #include <sys/time.h> #endif -int _xine_private_gettimeofday(struct timeval *tv) { +int xine_private_gettimeofday(struct timeval *tv) { struct timeb tp; ftime(&tp); diff --git a/lib/hstrerror.c b/lib/hstrerror.c index 87f7f6411..a31ad804b 100644 --- a/lib/hstrerror.c +++ b/lib/hstrerror.c @@ -12,7 +12,7 @@ /** * get error descriptions in DNS lookups */ -const char *_xine_private_hstrerror(int err) { +const char *xine_private_hstrerror(int err) { switch (err) { case 0: return _("No error"); case HOST_NOT_FOUND: return _("Unknown host"); diff --git a/lib/os_internal.h b/lib/os_internal.h index c427448c4..9ce57598f 100644 --- a/lib/os_internal.h +++ b/lib/os_internal.h @@ -119,7 +119,7 @@ void xine_private_unsetenv(const char *name); #else #define asprintf(STRINGPP, FORMAT, ...) xine_private_asprintf((STRINGPP), FORMAT, __VA_ARGS__) #endif -#define vasprintf(STRINGPP, FORMAT, VA_ARG) _xine_private_vasprintf((STRINGPP), (FORMAT), (VA_ARG)) +#define vasprintf(STRINGPP, FORMAT, VA_ARG) xine_private_vasprintf((STRINGPP), (FORMAT), (VA_ARG)) int xine_private_asprintf(char **string, const char *format, ...) __attribute__ ((format (printf, 2, 3))); int xine_private_vasprintf(char **string, const char *format, va_list ap) __attribute__ ((format (printf, 2, 0))); #endif diff --git a/lib/setenv.c b/lib/setenv.c index 4f861937f..e975f3da8 100644 --- a/lib/setenv.c +++ b/lib/setenv.c @@ -5,7 +5,7 @@ #include <stdio.h> /* This function will leak a small amount of memory */ -int _xine_private_setenv(const char *name, const char *val) { +int xine_private_setenv(const char *name, const char *val) { int len; char *env; diff --git a/lib/strndup.c b/lib/strndup.c index 0f5e4142c..9f347db87 100644 --- a/lib/strndup.c +++ b/lib/strndup.c @@ -6,7 +6,7 @@ #include <string.h> -char *_xine_private_strndup(const char *s, size_t n) { +char *xine_private_strndup(const char *s, size_t n) { char *ret; ret = malloc (n + 1); diff --git a/lib/strpbrk.c b/lib/strpbrk.c index 557c1a57b..34c47fc48 100644 --- a/lib/strpbrk.c +++ b/lib/strpbrk.c @@ -1,7 +1,7 @@ #include <stddef.h> /* Shamefully copied from glibc 2.2.3 */ -char *_xine_private_strpbrk(const char *s, const char *accept) { +char *xine_private_strpbrk(const char *s, const char *accept) { while(*s != '\0') { const char *a = accept; diff --git a/lib/strsep.c b/lib/strsep.c index 101f9600d..d63a12f56 100644 --- a/lib/strsep.c +++ b/lib/strsep.c @@ -1,7 +1,7 @@ #include "config.h" #include <string.h> -char *_xine_private_strsep(char **stringp, const char *delim) { +char *xine_private_strsep(char **stringp, const char *delim) { char *begin, *end; begin = *stringp; diff --git a/lib/strtok_r.c b/lib/strtok_r.c index 733290422..cead029a2 100644 --- a/lib/strtok_r.c +++ b/lib/strtok_r.c @@ -1,5 +1,5 @@ /* - * written for xine project, 2004 + * written for xine project, 2004-2006 * * public domain replacement function for strtok_r() * @@ -10,7 +10,7 @@ #include <stddef.h> #include <string.h> -char *_xine_private_strtok_r(char *s, const char *delim, char **ptrptr) { +char *xine_private_strtok_r(char *s, const char *delim, char **ptrptr) { char *next; size_t toklen, cutlen; diff --git a/lib/timegm.c b/lib/timegm.c index 182a1b527..588131afb 100644 --- a/lib/timegm.c +++ b/lib/timegm.c @@ -3,7 +3,7 @@ #include <time.h> #include <stdlib.h> -time_t _xine_private_timegm(struct tm *tm) { +time_t xine_private_timegm(struct tm *tm) { time_t ret; char *tz; diff --git a/lib/unsetenv.c b/lib/unsetenv.c index 76ba332e3..2f4f7f711 100644 --- a/lib/unsetenv.c +++ b/lib/unsetenv.c @@ -2,6 +2,6 @@ #include <stdlib.h> -void _xine_private_unsetenv(const char *name) { +void xine_private_unsetenv(const char *name) { putenv(name); } |