From 01a36ad3073c62dec584a72e869d6e2963333d34 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 13 Mar 1995 06:51:32 +0000 Subject: Mon Mar 13 01:48:16 1995 Roland McGrath * Makefile ($(libc.a)(__.SYMDEF)): Target removed. [$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so. * sysdeps/stub/ulimit.c: Don't include gnu-stabs.h. * sysdeps/stub/pause.c: Likewise. * sysdeps/stub/time.c: Likewise. * stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the locale data format is implemented. * stdlib/wctomb.c: Likewise. * mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the gcc bug is fixed. * mach/errsystems.c: File removed. * Makeconfig (libc.a): Variable removed. (+link): Don't use it. * configure.in (AC_ARG_ENABLE calls): Use $enableval instead of assuming `yes'. --- sysdeps/stub/time.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'sysdeps/stub/time.c') diff --git a/sysdeps/stub/time.c b/sysdeps/stub/time.c index bc1d3fccfe..cb208bcf0b 100644 --- a/sysdeps/stub/time.c +++ b/sysdeps/stub/time.c @@ -16,14 +16,13 @@ License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include #include #include - /* Return the time now, and store it in *TIMER if not NULL. */ time_t -DEFUN(time, (timer), time_t *timer) +time (timer) + time_t *timer; { errno = ENOSYS; @@ -32,12 +31,4 @@ DEFUN(time, (timer), time_t *timer) return (time_t) -1; } - - -#ifdef HAVE_GNU_LD - -#include - -stub_warning(time); - -#endif /* GNU stabs. */ +stub_warning (time) -- cgit v1.2.3