X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fbackupfile.h;h=346b60c3e28aa067bcf867a09899bf22f7bb5cb1;hb=8c275683036775b0f42833f4e895343d0f3e85fe;hp=d854500f96487f72b1ea0035d73e124d4d6308fc;hpb=d349992d82f97d614404565ff66e3f8a47b4a568;p=gnulib.git diff --git a/lib/backupfile.h b/lib/backupfile.h index d854500f9..346b60c3e 100644 --- a/lib/backupfile.h +++ b/lib/backupfile.h @@ -1,5 +1,7 @@ /* backupfile.h -- declarations for making Emacs style backup file names - Copyright (C) 1990-1992, 1997-2000 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 @@ -19,6 +21,11 @@ #ifndef BACKUPFILE_H_ # define BACKUPFILE_H_ +# ifdef __cplusplus +extern "C" { +# endif + + /* When to make backup files. */ enum backup_type { @@ -44,17 +51,14 @@ 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 *find_backup_file_name PARAMS ((char const *, enum backup_type)); -enum backup_type get_version PARAMS ((char const *context, char const *arg)); -enum backup_type xget_version PARAMS ((char const *context, char const *arg)); -void addext PARAMS ((char *, char const *, int)); +# ifdef __cplusplus +} +# endif #endif /* ! BACKUPFILE_H_ */