From 73ef151b8c5c2798517206881ba3de40598323c6 Mon Sep 17 00:00:00 2001 From: kleink Date: Fri, 16 Oct 1998 12:39:54 +0000 Subject: [PATCH] Need an internal name for fgetln(). --- lib/libc/include/namespace.h | 3 ++- lib/libc/stdio/fgetln.c | 9 +++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h index 70bb2ef41118..d5bfef9d47bf 100644 --- a/lib/libc/include/namespace.h +++ b/lib/libc/include/namespace.h @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.24 1998/10/15 09:28:13 kleink Exp $ */ +/* $NetBSD: namespace.h,v 1.25 1998/10/16 12:39:54 kleink Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -141,6 +141,7 @@ #define execv _execv #define execvp _execvp #define fdopen _fdopen +#define fgetln _fgetln #define fnmatch _fnmatch #define ftok _ftok #define ftruncate _ftruncate diff --git a/lib/libc/stdio/fgetln.c b/lib/libc/stdio/fgetln.c index 305cb0fcdfeb..bc6a7df68ea2 100644 --- a/lib/libc/stdio/fgetln.c +++ b/lib/libc/stdio/fgetln.c @@ -1,4 +1,4 @@ -/* $NetBSD: fgetln.c,v 1.5 1998/02/03 18:41:08 perry Exp $ */ +/* $NetBSD: fgetln.c,v 1.6 1998/10/16 12:39:54 kleink Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -41,16 +41,21 @@ #if 0 static char sccsid[] = "@(#)fgetline.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: fgetln.c,v 1.5 1998/02/03 18:41:08 perry Exp $"); +__RCSID("$NetBSD: fgetln.c,v 1.6 1998/10/16 12:39:54 kleink Exp $"); #endif #endif /* LIBC_SCCS and not lint */ +#include "namespace.h" #include #include #include #include "local.h" #include "reentrant.h" +#ifdef __weak_alias +__weak_alias(fgetln,_fgetln); +#endif + int __slbexpand __P((FILE *, size_t)); /*