Source-Changes-HG archive

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

[src/trunk]: src/include Declare _nsyylineno as extern since it belongs in th...



details:   https://anonhg.NetBSD.org/src/rev/04e4e8284bd9
branches:  trunk
changeset: 500555:04e4e8284bd9
user:      scw <scw%NetBSD.org@localhost>
date:      Wed Dec 13 21:58:56 2000 +0000

description:
Declare _nsyylineno as extern since it belongs in the data section
(due to being initialised in nslexer.[cy]).

diffstat:

 include/nsswitch.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 886c02280948 -r 04e4e8284bd9 include/nsswitch.h
--- a/include/nsswitch.h        Wed Dec 13 21:46:23 2000 +0000
+++ b/include/nsswitch.h        Wed Dec 13 21:58:56 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nsswitch.h,v 1.9 2000/06/13 01:21:53 simonb Exp $      */
+/*     $NetBSD: nsswitch.h,v 1.10 2000/12/13 21:58:56 scw Exp $        */
 
 /*-
  * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -182,7 +182,7 @@
 int             _nsdbtput __P((const ns_dbt *));
 void            _nsyyerror __P((const char *));
 int             _nsyylex __P((void));
-int             _nsyylineno;
+extern int      _nsyylineno;
 #endif /* _NS_PRIVATE */
 
 __END_DECLS



Home | Main Index | Thread Index | Old Index