Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/net Use a _files prefix for local backend routines; ...



details:   https://anonhg.NetBSD.org/src/rev/7bc63e65848b
branches:  trunk
changeset: 472669:7bc63e65848b
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue May 04 15:11:42 1999 +0000

description:
Use a _files prefix for local backend routines; would clash with namespace.h
otherwise.

diffstat:

 lib/libc/net/getnetnamadr.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (65 lines):

diff -r 17e1f2b85de7 -r 7bc63e65848b lib/libc/net/getnetnamadr.c
--- a/lib/libc/net/getnetnamadr.c       Tue May 04 14:58:27 1999 +0000
+++ b/lib/libc/net/getnetnamadr.c       Tue May 04 15:11:42 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getnetnamadr.c,v 1.15 1999/05/03 15:17:13 christos Exp $       */
+/*     $NetBSD: getnetnamadr.c,v 1.16 1999/05/04 15:11:42 kleink Exp $ */
 
 /* Copyright (c) 1993 Carlos Leandro and Rui Salgueiro
  *     Dep. Matematica Universidade de Coimbra, Portugal, Europe
@@ -47,7 +47,7 @@
 static char sccsid_[] = "from getnetnamadr.c   1.4 (Coimbra) 93/06/03";
 static char rcsid[] = "Id: getnetnamadr.c,v 8.8 1997/06/01 20:34:37 vixie Exp ";
 #else
-__RCSID("$NetBSD: getnetnamadr.c,v 1.15 1999/05/03 15:17:13 christos Exp $");
+__RCSID("$NetBSD: getnetnamadr.c,v 1.16 1999/05/04 15:11:42 kleink Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -122,8 +122,8 @@
 static char *net_aliases[MAXALIASES];
 
 static struct netent *getnetanswer __P((querybuf *, int, int));
-int    _getnetbyaddr __P((void *, void *, va_list));
-int    _getnetbyname __P((void *, void *, va_list));
+int    _files_getnetbyaddr __P((void *, void *, va_list));
+int    _files_getnetbyname __P((void *, void *, va_list));
 int    _dns_getnetbyaddr __P((void *, void *, va_list));
 int    _dns_getnetbyname __P((void *, void *, va_list));
 #ifdef YP
@@ -247,7 +247,7 @@
 
 /*ARGSUSED*/
 int
-_getnetbyaddr(rv, cb_data, ap)
+_files_getnetbyaddr(rv, cb_data, ap)
        void    *rv;
        void    *cb_data;
        va_list  ap;
@@ -350,7 +350,7 @@
 {
        struct netent *np;
        static const ns_dtab dtab[] = {
-               NS_FILES_CB(_getnetbyaddr, NULL)
+               NS_FILES_CB(_files_getnetbyaddr, NULL)
                { NSSRC_DNS, _dns_getnetbyaddr, NULL }, /* force -DHESIOD */
                NS_NIS_CB(_yp_getnetbyaddr, NULL)
                { 0 }
@@ -372,7 +372,7 @@
 
 /*ARGSUSED*/
 int
-_getnetbyname(rv, cb_data, ap)
+_files_getnetbyname(rv, cb_data, ap)
        void    *rv;
        void    *cb_data;
        va_list  ap;
@@ -441,7 +441,7 @@
 {
        struct netent *np;
        static const ns_dtab dtab[] = {
-               NS_FILES_CB(_getnetbyname, NULL)
+               NS_FILES_CB(_files_getnetbyname, NULL)
                { NSSRC_DNS, _dns_getnetbyname, NULL }, /* force -DHESIOD */
                NS_NIS_CB(_yp_getnetbyname, NULL)
                { 0 }



Home | Main Index | Thread Index | Old Index