diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-21 14:00:42 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-21 14:00:42 +0000 |
commit | 030e9c816f2a21d808512a38b551c9db704f1f59 (patch) | |
tree | 6410131126b7d60dc39a772bd17700de49015fc2 /usr.bin/patch/backupfile.h | |
parent | 302d48fc7269447e90636196dd32b5b47738baaa (diff) |
knf and other cleanup; ok otto
Diffstat (limited to 'usr.bin/patch/backupfile.h')
-rw-r--r-- | usr.bin/patch/backupfile.h | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/usr.bin/patch/backupfile.h b/usr.bin/patch/backupfile.h index 3773aa12b28..43a27a8bc1b 100644 --- a/usr.bin/patch/backupfile.h +++ b/usr.bin/patch/backupfile.h @@ -1,35 +1,37 @@ -/* $OpenBSD: backupfile.h,v 1.3 2002/02/19 19:39:39 millert Exp $*/ -/* backupfile.h -- declarations for making Emacs style backup file names - Copyright (C) 1990 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it without restriction. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -*/ +/* $OpenBSD: backupfile.h,v 1.4 2003/07/21 14:00:41 deraadt Exp $ */ +/* + * backupfile.h -- declarations for making Emacs style backup file names + * Copyright (C) 1990 Free Software Foundation, Inc. + * + * This program is free software; you can redistribute it and/or modify it + * without restriction. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * + */ /* When to make backup files. */ -enum backup_type -{ - /* Never make backups. */ - none, +enum backup_type { + /* Never make backups. */ + none, - /* Make simple backups of every file. */ - simple, + /* Make simple backups of every file. */ + simple, - /* Make numbered backups of files that already have numbered backups, - and simple backups of the others. */ - numbered_existing, + /* + * Make numbered backups of files that already have numbered backups, + * and simple backups of the others. + */ + numbered_existing, - /* Make numbered backups of every file. */ - numbered + /* Make numbered backups of every file. */ + numbered }; extern enum backup_type backup_type; -extern char *simple_backup_suffix; +extern char *simple_backup_suffix; -char *find_backup_file_name (char *file); -enum backup_type get_version (char *version); +char *find_backup_file_name(char *file); +enum backup_type get_version(char *version); |