summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>1998-07-28 20:11:16 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>1998-07-28 20:11:16 +0000
commit01f867649ff2cbd8930666da6d2aa0c9c45d22ec (patch)
tree14e5ed84f6eed6ace6b83789c6e73cf279215a0a /lib
parent3287b64e077693dbe8e5b8138453f03f4060e739 (diff)
rename getent/getstr to gtgetent/gtgetstr so they don't
conflict with curses functions; the gt is for gettytab, the database read by these functions
Diffstat (limited to 'lib')
-rw-r--r--lib/libtelnet/getent.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libtelnet/getent.c b/lib/libtelnet/getent.c
index 32fae716745..7cf05b9a5a8 100644
--- a/lib/libtelnet/getent.c
+++ b/lib/libtelnet/getent.c
@@ -34,7 +34,7 @@
#ifndef lint
/* from: static char sccsid[] = "@(#)getent.c 8.2 (Berkeley) 12/15/93"; */
/* from: static char *rcsid = "$NetBSD: getent.c,v 1.5 1996/02/24 01:15:22 jtk Exp $"; */
-static char *rcsid = "$OpenBSD: getent.c,v 1.2 1996/03/19 23:15:53 niklas Exp $";
+static char *rcsid = "$OpenBSD: getent.c,v 1.3 1998/07/28 20:11:15 marc Exp $";
#endif /* not lint */
#include <stdlib.h>
@@ -42,12 +42,12 @@ static char *rcsid = "$OpenBSD: getent.c,v 1.2 1996/03/19 23:15:53 niklas Exp $"
static char *area;
-int getent __P((char *, char *));
-char *getstr __P((char *, char **));
+int gtgetent __P((char *, char *));
+char *gtgetstr __P((char *, char **));
/*ARGSUSED*/
int
-getent(cp, name)
+gtgetent(cp, name)
char *cp, *name;
{
#ifdef HAS_CGETENT
@@ -64,7 +64,7 @@ char *cp, *name;
#ifndef SOLARIS
/*ARGSUSED*/
char *
-getstr(id, cpp)
+gtgetstr(id, cpp)
char *id, **cpp;
{
# ifdef HAS_CGETENT