Unbreak VKERNEL64 after apple_gmux module addition.
[dragonfly.git] / usr.bin / patch / backupfile.h
blob34532a68da8c010e16041b08b95c9149710680c9
1 /*
2 * $OpenBSD: backupfile.h,v 1.6 2003/07/28 18:35:36 otto Exp $
3 * $DragonFly: src/usr.bin/patch/backupfile.h,v 1.3 2007/09/29 23:11:10 swildner Exp $
4 */
6 /*
7 * backupfile.h -- declarations for making Emacs style backup file names
8 * Copyright (C) 1990 Free Software Foundation, Inc.
9 *
10 * This program is free software; you can redistribute it and/or modify it
11 * without restriction.
13 * This program is distributed in the hope that it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE.
19 /* When to make backup files. */
20 enum backup_type {
21 /* Never make backups. */
22 none,
24 /* Make simple backups of every file. */
25 simple,
28 * Make numbered backups of files that already have numbered backups,
29 * and simple backups of the others.
31 numbered_existing,
33 /* Make numbered backups of every file. */
34 numbered
37 extern enum backup_type backup_type;
38 extern const char *simple_backup_suffix;
40 char *find_backup_file_name(const char *file);
41 enum backup_type get_version(const char *version);