Rename local function "gettext" to "get_text" to avoid conflict

with internal prototypes/attributes for the gettext() int'lzation
function that gcc-current has.
This commit is contained in:
thorpej 2002-05-30 17:46:24 +00:00
parent d22677c6bc
commit f9fe308928
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpr.c,v 1.4 1997/10/18 15:05:47 lukem Exp $ */ /* $NetBSD: fpr.c,v 1.5 2002/05/30 17:46:24 thorpej Exp $ */
/* /*
* Copyright (c) 1989, 1993 * Copyright (c) 1989, 1993
@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0 #if 0
static char sccsid[] = "@(#)fpr.c 8.1 (Berkeley) 6/6/93"; static char sccsid[] = "@(#)fpr.c 8.1 (Berkeley) 6/6/93";
#endif #endif
__RCSID("$NetBSD: fpr.c,v 1.4 1997/10/18 15:05:47 lukem Exp $"); __RCSID("$NetBSD: fpr.c,v 1.5 2002/05/30 17:46:24 thorpej Exp $");
#endif /* not lint */ #endif /* not lint */
#include <err.h> #include <err.h>
@ -87,7 +87,7 @@ int maxpos;
int maxcol; int maxcol;
void flush __P((void)); void flush __P((void));
void gettext __P((void)); void get_text __P((void));
void init __P((void)); void init __P((void));
int main __P((int, char **)); int main __P((int, char **));
void nospace __P((void)); void nospace __P((void));
@ -134,7 +134,7 @@ main(argc, argv)
} }
while (!ateof) { while (!ateof) {
gettext(); get_text();
ch = getchar(); ch = getchar();
if (ch == EOF) { if (ch == EOF) {
flush(); flush();
@ -210,7 +210,7 @@ init()
} }
void void
gettext() get_text()
{ {
int i; int i;
char ateol; char ateol;