Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/fpr Rename local function "gettext" to "get_text" to...



details:   https://anonhg.NetBSD.org/src/rev/a557985177ea
branches:  trunk
changeset: 532013:a557985177ea
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu May 30 17:46:24 2002 +0000

description:
Rename local function "gettext" to "get_text" to avoid conflict
with internal prototypes/attributes for the gettext() int'lzation
function that gcc-current has.

diffstat:

 usr.bin/fpr/fpr.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 66c51a049ae6 -r a557985177ea usr.bin/fpr/fpr.c
--- a/usr.bin/fpr/fpr.c Thu May 30 17:36:57 2002 +0000
+++ b/usr.bin/fpr/fpr.c Thu May 30 17:46:24 2002 +0000
@@ -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
@@ -46,7 +46,7 @@
 #if 0
 static char sccsid[] = "@(#)fpr.c      8.1 (Berkeley) 6/6/93";
 #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 */
 
 #include <err.h>
@@ -87,7 +87,7 @@
 int     maxcol;
 
 void   flush __P((void));
-void   gettext __P((void));
+void   get_text __P((void));
 void   init __P((void));
 int    main __P((int, char **));
 void   nospace __P((void));
@@ -134,7 +134,7 @@
                                        }
 
        while (!ateof) {
-               gettext();
+               get_text();
                ch = getchar();
                if (ch == EOF) {
                        flush();
@@ -210,7 +210,7 @@
 }
 
 void
-gettext()
+get_text()
 {
        int i;
        char ateol;



Home | Main Index | Thread Index | Old Index