about summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-05-14 15:42:52 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-16 16:20:59 -0700
commit61653dfb81b776bb72ce4304175b861d77c357a8 (patch)
tree588d62fd799fae6b3aef3958788ef72d7f71bd37 /time
parent90c885c87bdb3380d430d3f72a4a5cabf2835167 (diff)
downloadglibc-61653dfb81b776bb72ce4304175b861d77c357a8.tar.gz
glibc-61653dfb81b776bb72ce4304175b861d77c357a8.tar.xz
glibc-61653dfb81b776bb72ce4304175b861d77c357a8.zip
BZ#10375: Configure magic to use -U_FORTIFY_SOURCE if needed.
Diffstat (limited to 'time')
-rw-r--r--time/ctime.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/time/ctime.c b/time/ctime.c
index 28321af32b..ca2d3ea2ff 100644
--- a/time/ctime.c
+++ b/time/ctime.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -15,12 +15,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#undef	__OPTIMIZE__	/* Avoid inline `ctime' function.  */
 #include <time.h>
 
-#undef	ctime
-
-
 /* Return a string as returned by asctime which
    is the representation of *T in that form.  */
 char *