busybox/sysklogd
Denys Vlasenko e1b1b79269 use gmtime_r() instead of gmtime()
This avoids pulling in gmtime's static buffer:

function                                             old     new   delta
svlogd_main                                         1401    1412     +11
send_headers                                         668     678     +10
gmtime                                                21       -     -21
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 2/0 up/down: 21/-21)              Total: 0 bytes
   text	   data	    bss	    dec	    hex	filename
 920221	    555	   5804	 926580	  e2374	busybox_old
 920221	    555	   5740	 926516	  e2334	busybox_unstripped
                   ^^^^

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-03-06 18:11:47 +01:00
..
Config.src sysklogd/*: convert to new-style "one file" applets 2015-10-18 22:40:09 +02:00
Kbuild.src sysklogd/*: convert to new-style "one file" applets 2015-10-18 22:40:09 +02:00
klogd.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
logger.c syslogd,logger: code shrink for musl 2017-08-16 15:05:36 +02:00
logread.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
syslogd_and_logger.c use gmtime_r() instead of gmtime() 2018-03-06 18:11:47 +01:00
syslogd.c syslogd,logger: code shrink for musl 2017-08-16 15:05:36 +02:00