tzset: Remove unused NOID macro

This commit is contained in:
Florian Weimer 2017-03-03 11:25:44 +01:00
parent b2f3c0c208
commit 7eb5c06c35
3 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2017-03-03 Florian Weimer <fweimer@redhat.com>
* time/tzfile.c (NOID): Do not define.
* time/tzset.c (NOID): Likewise.
2017-03-03 Florian Weimer <fweimer@redhat.com> 2017-03-03 Florian Weimer <fweimer@redhat.com>
* time/tzset.c (compute_offset): Remove __attribute_noinline__. * time/tzset.c (compute_offset): Remove __attribute_noinline__.

View File

@ -26,7 +26,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h> #include <stdint.h>
#define NOID
#include <timezone/tzfile.h> #include <timezone/tzfile.h>
int __use_tzfile; int __use_tzfile;

View File

@ -25,8 +25,6 @@
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#define NOID
#include <timezone/tzfile.h> #include <timezone/tzfile.h>
char *__tzname[2] = { (char *) "GMT", (char *) "GMT" }; char *__tzname[2] = { (char *) "GMT", (char *) "GMT" };