/* getversion.c -- select backup filename type
- Copyright (C) 1990 Free Software Foundation, Inc.
+ Copyright (C) 1990, 1998, 2000 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
/* Written by David MacKenzie <djm@gnu.ai.mit.edu> */
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include <config.h>
#endif
#include "backupfile.h"
-#ifdef STDC_HEADERS
+#if STDC_HEADERS
# include <stdlib.h>
#endif
Unique abbreviations are accepted. */
enum backup_type
-get_version (version)
- char *version;
+get_version (const char *version)
{
int i;