Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vap
langley
Commits
cf8023c1
Commit
cf8023c1
authored
Sep 27, 2018
by
Brian Ermold
Browse files
Update to get version from config.h and removed obsolete custom_GetDate() function.
parent
8b735121
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/langley.c
View file @
cf8023c1
...
@@ -205,10 +205,9 @@
...
@@ -205,10 +205,9 @@
/****** Application Includes ******/
/****** Application Includes ******/
#include
"langley.h"
#include
"langley.h"
/* Required for RCS */
/* Get version from config.h */
static
char
*
rcsid
=
"$Id: langley.c,v 1.40 2012/02/06 19:24:24 koontz Exp $"
;
#include
"../config.h"
static
char
*
rcsstate
=
"$State: Exp $"
;
static
const
char
*
_Version
=
PACKAGE_NAME
"-"
PACKAGE_VERSION
;
static
char
*
rcsdate
=
"$Date: 2012/02/06 19:24:24 $"
;
char
gPlatNames
[
NPRESPLATS
][
64
];
char
gPlatNames
[
NPRESPLATS
][
64
];
...
@@ -414,25 +413,9 @@ char * custom_GetVersion()
...
@@ -414,25 +413,9 @@ char * custom_GetVersion()
* and everything will work the way it is supposed to.
* and everything will work the way it is supposed to.
*****************************************************************************/
*****************************************************************************/
{
{
return
(
rcsstate
);
return
(
_Version
);
}
/* custom_GetVersion (... */
}
/* 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
custom_define_hooks
()
{
{
void
parse_commandline_options
(
void
);
void
parse_commandline_options
(
void
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment