aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-03-03 11:25:44 +0100
committerFlorian Weimer <fweimer@redhat.com>2017-03-03 11:25:44 +0100
commit7eb5c06c3501a5f1d60e92780b3a2c67eeed4afe (patch)
tree6afcb968770d2aee3b1e8580ad17446adb347c8f
parentb2f3c0c208f73cf5c433ebb85aacf3284d9e47e6 (diff)
downloadglibc-7eb5c06c3501a5f1d60e92780b3a2c67eeed4afe.zip
glibc-7eb5c06c3501a5f1d60e92780b3a2c67eeed4afe.tar.gz
glibc-7eb5c06c3501a5f1d60e92780b3a2c67eeed4afe.tar.bz2
tzset: Remove unused NOID macro
-rw-r--r--ChangeLog5
-rw-r--r--time/tzfile.c1
-rw-r--r--time/tzset.c2
3 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 240b3e8..504de57 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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>
+
* time/tzset.c (compute_offset): Remove __attribute_noinline__.
2017-03-02 Florian Weimer <fweimer@redhat.com>
diff --git a/time/tzfile.c b/time/tzfile.c
index 3fd4569..4987f1a 100644
--- a/time/tzfile.c
+++ b/time/tzfile.c
@@ -26,7 +26,6 @@
#include <sys/stat.h>
#include <stdint.h>
-#define NOID
#include <timezone/tzfile.h>
int __use_tzfile;
diff --git a/time/tzset.c b/time/tzset.c
index 404f1db..262bbe5 100644
--- a/time/tzset.c
+++ b/time/tzset.c
@@ -25,8 +25,6 @@
#include <string.h>
#include <time.h>
-
-#define NOID
#include <timezone/tzfile.h>
char *__tzname[2] = { (char *) "GMT", (char *) "GMT" };