diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-11 14:02:58 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 14:34:35 -0400 |
commit | 3fe595de83e398dbc3cdbe303cacaf8485c9ae08 (patch) | |
tree | e9c870791bf714111804adc815f50f3b0c395102 /src/misc | |
parent | 49722a8ed4c8fd056ac8aebd6bec9d998b700f80 (diff) | |
download | musl-3fe595de83e398dbc3cdbe303cacaf8485c9ae08.tar.gz musl-3fe595de83e398dbc3cdbe303cacaf8485c9ae08.tar.bz2 musl-3fe595de83e398dbc3cdbe303cacaf8485c9ae08.tar.xz musl-3fe595de83e398dbc3cdbe303cacaf8485c9ae08.zip |
remove or make static various unused __-prefixed symbols
Diffstat (limited to 'src/misc')
-rw-r--r-- | src/misc/setrlimit.c | 2 | ||||
-rw-r--r-- | src/misc/syslog.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/setrlimit.c b/src/misc/setrlimit.c index 7130d719..8a50f410 100644 --- a/src/misc/setrlimit.c +++ b/src/misc/setrlimit.c @@ -6,7 +6,7 @@ #define MIN(a, b) ((a)<(b) ? (a) : (b)) #define FIX(x) do{ if ((x)>=SYSCALL_RLIM_INFINITY) (x)=RLIM_INFINITY; }while(0) -int __setrlimit(int resource, const struct rlimit *rlim) +static int __setrlimit(int resource, const struct rlimit *rlim) { unsigned long k_rlim[2]; struct rlimit tmp; diff --git a/src/misc/syslog.c b/src/misc/syslog.c index 60e9020f..410709d7 100644 --- a/src/misc/syslog.c +++ b/src/misc/syslog.c @@ -122,7 +122,7 @@ static void _vsyslog(int priority, const char *message, va_list ap) } } -void __vsyslog(int priority, const char *message, va_list ap) +static void __vsyslog(int priority, const char *message, va_list ap) { int cs; if (!(log_mask & LOG_MASK(priority&7)) || (priority&~0x3ff)) return; |