diff options
author | gad <gad@FreeBSD.org> | 2002-04-28 01:33:45 +0000 |
---|---|---|
committer | gad <gad@FreeBSD.org> | 2002-04-28 01:33:45 +0000 |
commit | b200c6709f032c3ceaac65a061b2f1198173bd0c (patch) | |
tree | 7f720dcbd2c5958c3ebe9655a3d746b461a5aac7 /gnu/usr.bin/patch/backupfile.h | |
parent | 69091a8284855bbf8bc967d6baf599b1fbc7f077 (diff) | |
download | FreeBSD-src-b200c6709f032c3ceaac65a061b2f1198173bd0c.zip FreeBSD-src-b200c6709f032c3ceaac65a061b2f1198173bd0c.tar.gz |
Add many prototypes and ANSI-ize 'patch. Not a complete job of it, but it gets
our patch to look a little more like NetBSD's, and has the nice characteristic
that the object code is exactly the same after the change as before it (even in
patch.c and pch.c, which have pesky 'assert' statements in them).
Reviewed by: /sbin/md5 on i386, alpha, sparc64
MFC after: 3 days
Diffstat (limited to 'gnu/usr.bin/patch/backupfile.h')
-rw-r--r-- | gnu/usr.bin/patch/backupfile.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gnu/usr.bin/patch/backupfile.h b/gnu/usr.bin/patch/backupfile.h index bb7b5e6..7600714 100644 --- a/gnu/usr.bin/patch/backupfile.h +++ b/gnu/usr.bin/patch/backupfile.h @@ -39,12 +39,6 @@ enum backup_type extern enum backup_type backup_type; extern char *simple_backup_suffix; -#ifdef __STDC__ -char *find_backup_file_name (char *file); -enum backup_type get_version (char *version); -void addext (char *, char *, int); -#else -char *find_backup_file_name (); -enum backup_type get_version (); -void addext (); -#endif +char *find_backup_file_name (char *_file); +enum backup_type get_version(char *_version); +void addext(char *_filename, char *_ext, int _e); |