Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 09/30/1999 23:55:47
Module Name:	basesrc
Committed By:	lukem
Date:		Fri Oct  1 06:55:46 UTC 1999

Modified Files:
	basesrc/usr.bin/ftp: extern.h ftp.c ftp_var.h main.c

Log Message:
prefix the global variables in ftp_var.h with GLOBAL, which defaults
to "extern" if it's not set. define GLOBAL to (empty) in main.c.
this effectively moves all the globals into main.c whilst retaining
namespace access to them in other source files.
(global vars in header files confuse foreign linkers)


To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 basesrc/usr.bin/ftp/extern.h
cvs rdiff -r1.72 -r1.73 basesrc/usr.bin/ftp/ftp.c
cvs rdiff -r1.38 -r1.39 basesrc/usr.bin/ftp/ftp_var.h
cvs rdiff -r1.56 -r1.57 basesrc/usr.bin/ftp/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.