X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetversion.c;h=bb72d2dd5fc7208d256f34a5cd3d57e148312a51;hb=daa689ebb8beb42e803445c882f20a175eb51b7f;hp=8d26abe85db688885ad608adbc5e9be79eaa13c7;hpb=e341d2295bf5cf04f017a841151c7210f59d74be;p=gnulib.git diff --git a/lib/getversion.c b/lib/getversion.c index 8d26abe85..bb72d2dd5 100644 --- a/lib/getversion.c +++ b/lib/getversion.c @@ -1,5 +1,5 @@ /* 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 @@ -17,13 +17,13 @@ /* Written by David MacKenzie */ -#ifdef HAVE_CONFIG_H +#if HAVE_CONFIG_H # include #endif #include "backupfile.h" -#ifdef STDC_HEADERS +#if STDC_HEADERS # include #endif @@ -46,8 +46,7 @@ static const enum backup_type backup_types[] = Unique abbreviations are accepted. */ enum backup_type -get_version (version) - char *version; +get_version (const char *version) { int i;