Module Name: src Committed By: christos Date: Sun May 15 14:31:13 UTC 2011
Modified Files: src/gnu/usr.bin/rcs/lib: rcsedit.c Log Message: register c -> int c To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/gnu/usr.bin/rcs/lib/rcsedit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/gnu/usr.bin/rcs/lib/rcsedit.c diff -u src/gnu/usr.bin/rcs/lib/rcsedit.c:1.8 src/gnu/usr.bin/rcs/lib/rcsedit.c:1.9 --- src/gnu/usr.bin/rcs/lib/rcsedit.c:1.8 Tue Mar 25 08:56:38 1997 +++ src/gnu/usr.bin/rcs/lib/rcsedit.c Sun May 15 10:31:13 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: rcsedit.c,v 1.8 1997/03/25 13:56:38 lukem Exp $ */ +/* $NetBSD: rcsedit.c,v 1.9 2011/05/15 14:31:13 christos Exp $ */ /* RCS stream editor */ @@ -38,6 +38,9 @@ /* * $Log: rcsedit.c,v $ + * Revision 1.9 2011/05/15 14:31:13 christos + * register c -> int c + * * Revision 1.8 1997/03/25 13:56:38 lukem * Add "#define has_mkstemp 1" (which needs "#define has_mktemp 1"), * and hack to use mkstemp() instead of mktemp(). This *does* cause the @@ -633,7 +636,7 @@ * editline is incremented by the number of lines copied. * Assumption: next character read is first string character. */ -{ register c; +{ int c; declarecache; register FILE *frew, *fcop; register int amidline; @@ -878,7 +881,7 @@ * 2 if a complete line is copied; adds 1 to yield if expansion occurred. */ { - register c; + int c; declarecache; register FILE *out, *frew; register char * tp;