/* backupfile.h -- declarations for making Emacs style backup file names
- Copyright (C) 1990, 1991, 1992, 1997, 1998 Free Software Foundation, Inc.
+
+ Copyright (C) 1990, 1991, 1992, 1997, 1998, 1999, 2003, 2004 Free
+ Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#ifndef BACKUPFILE_H_
# define BACKUPFILE_H_
+# ifdef __cplusplus
+extern "C" {
+# endif
+
+
/* When to make backup files. */
enum backup_type
{
extern char const *simple_backup_suffix;
-# ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-# define PARAMS(Args) Args
-# else
-# define PARAMS(Args) ()
-# endif
-# endif
+char *find_backup_file_name (char const *, enum backup_type);
+enum backup_type get_version (char const *context, char const *arg);
+enum backup_type xget_version (char const *context, char const *arg);
+void addext (char *, char const *, int);
+
-char *base_name PARAMS ((char const *));
-char *find_backup_file_name PARAMS ((char const *, enum backup_type));
-enum backup_type get_version PARAMS ((char const *));
-void addext PARAMS ((char *, char const *, int));
+# ifdef __cplusplus
+}
+# endif
#endif /* ! BACKUPFILE_H_ */