diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2002-09-04 23:29:10 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2002-09-04 23:29:10 +0000 |
commit | b4339b74aded4c38ebcfe3a2a9b37b900abb8874 (patch) | |
tree | fb230419005f211ecea1e667385bde9886dbf0d8 /usr.bin/soelim/soelim.c | |
parent | 228b93ce829543fee06561687a63c17a7e821dfd (diff) | |
download | FreeBSD-src-b4339b74aded4c38ebcfe3a2a9b37b900abb8874.zip FreeBSD-src-b4339b74aded4c38ebcfe3a2a9b37b900abb8874.tar.gz |
ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
Diffstat (limited to 'usr.bin/soelim/soelim.c')
-rw-r--r-- | usr.bin/soelim/soelim.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/usr.bin/soelim/soelim.c b/usr.bin/soelim/soelim.c index d25520c..d930fd9 100644 --- a/usr.bin/soelim/soelim.c +++ b/usr.bin/soelim/soelim.c @@ -70,9 +70,7 @@ static const char rcsid[] = int process(const char *); int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { argc--; @@ -90,11 +88,10 @@ main(argc, argv) } int -process(file) - const char *file; +process(const char *file) { - register char *cp; - register int c; + char *cp; + int c; char fname[BUFSIZ]; FILE *soee; int isfile; |