X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetversion.c;h=0f440c71cc9a57cc73004d4627cb36444ac60481;hb=7d6f71cd2a388d4909dda4eba120a899358da478;hp=8d26abe85db688885ad608adbc5e9be79eaa13c7;hpb=e341d2295bf5cf04f017a841151c7210f59d74be;p=gnulib.git diff --git a/lib/getversion.c b/lib/getversion.c index 8d26abe85..0f440c71c 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 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;