X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fversion.h;h=20aada0a3964bccba94bbfeb6d2f7c72e12283f0;hb=b221e8dc16f345f8c8d7df8df71f4d36daaabb4c;hp=1ee7cf988f18d258b20770cf7e25200d7782388e;hpb=12179dea039515c06168c0037d048566a3f623de;p=debian%2Famanda diff --git a/common-src/version.h b/common-src/version.h index 1ee7cf9..20aada0 100644 --- a/common-src/version.h +++ b/common-src/version.h @@ -26,34 +26,15 @@ /* * $Id: version.h,v 1.6 2006/05/25 01:47:12 johnfranks Exp $ * - * interface to obtain the current amanda version - */ -/* - * The printed version string is .[.[comment]] - * - Changes in comments imply a non-standard version of Amanda. - * - Changes in patchlevel imply mostly bugfixes. - * - Changes in minor version number imply significant code or protocol - * changes or enhancements. - * - Changes in major version number imply major reworking or redesign. + * interface to obtain the current amanda version info */ #ifndef VERSION_H #define VERSION_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -extern const int VERSION_MAJOR; -extern const int VERSION_MINOR; -extern const int VERSION_PATCH; -extern const char * const VERSION_COMMENT; +/* version_info contains a bunch of compile-time settings for output in + * amadmin x version; its value is set in version.c, which is generated + * by genversion.c */ extern const char * const version_info[]; -/* versionsuffix returns an empty string or a string like -2.3.0.4b1. */ -extern const char *versionsuffix(void); - -/* version returns a string representing the version of Amanda. */ -extern const char *version(void); - #endif