library: remove procps_version functions

It doesn't make any sense to have the binary version strings
embedded into the library. The version strings are defined
already either in the Makefile or in include/c.h
This commit is contained in:
Craig Small
2015-06-18 22:37:24 +10:00
parent 6577371919
commit 505f257a8c
8 changed files with 15 additions and 21 deletions

View File

@ -479,7 +479,7 @@ void self_info(void){
sysv_l_format ? sysv_l_format : "(none)"
);
display_version();
fprintf(stderr, "%s version %s\n", PACKAGE_NAME, PACKAGE_VERSION);
fprintf(stderr, "Linux version %d.%d.%d\n",
LINUX_VERSION_MAJOR(linux_version_code),
LINUX_VERSION_MINOR(linux_version_code),