Skip to content

Commit

Permalink
Do not use __DATE__ and __TIME__ macros.
Browse files Browse the repository at this point in the history
  • Loading branch information
BsAtHome committed Feb 20, 2025
1 parent 657d1c9 commit a33c743
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/hal/user_comps/xhc-whb04b-6/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static int printUsage(const char* programName, const char* deviceName, bool isEr
{
os = &std::cerr;
}
*os << programName << " version " << PACKAGE_VERSION << " " << __DATE__ << " " << __TIME__ << endl
*os << programName << " version " << PACKAGE_VERSION << endl
<< endl
<< "SYNOPSIS" << endl
<< " " << programName << " [-h | --help] | [-H] [OPTIONS] " << endl
Expand Down
4 changes: 0 additions & 4 deletions src/libnml/rcs/rcsversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,4 @@
static const int lib_major_version = LIB_MAJOR_VERSION;
static const int lib_minor_version = LIB_MINOR_VERSION;

static const char __attribute__ ((unused)) * rcs_version_info_string =
"@(#)" " $Info: NML Library version " LIB_VERSION " Compiled on "
__DATE__ " at " __TIME__ " for Linux. $ \n";

#endif

0 comments on commit a33c743

Please sign in to comment.