Commit cf8023c1 authored by Brian Ermold's avatar Brian Ermold
Browse files

Update to get version from config.h and removed obsolete custom_GetDate() function.

parent 8b735121
......@@ -205,10 +205,9 @@
/****** Application Includes ******/
#include "langley.h"
/* Required for RCS */
static char *rcsid="$Id: langley.c,v 1.40 2012/02/06 19:24:24 koontz Exp $";
static char *rcsstate="$State: Exp $";
static char *rcsdate="$Date: 2012/02/06 19:24:24 $";
/* Get version from config.h */
#include "../config.h"
static const char *_Version = PACKAGE_NAME"-"PACKAGE_VERSION;
char gPlatNames[NPRESPLATS][64];
......@@ -414,25 +413,9 @@ char * custom_GetVersion()
* and everything will work the way it is supposed to.
*****************************************************************************/
{
return (rcsstate);
return (_Version);
} /* custom_GetVersion (... */
char*
custom_GetDate ()
/****************************************************************************
* This function is called by dc_maker when it needs to know the
* version date of this file. Since this file is the only unique code in the
* application, the version date of this file is the appropriate one
* to assign to the production attribute "Version_date". All of the rest
* of the code (the "zeb wrapper") is in the library libBW.a and shouldn't
* change with each measurement. Basically, just leave this function alone
* and everything will work the way it is supposed to.
*****************************************************************************/
{
return (rcsdate);
} /* custom_GetDate (... */
void custom_define_hooks ()
{
void parse_commandline_options (void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment