Call libproc constructors in strict order

Having one constructor depend on another means if the order
is reversed you get a different result.
Patched based on idea by Tom Evans.

Added new code to old_Hertz_hack by Werner Fink <werner@suse.de>

Bug-Debian: http://bugs.debian.org/460331
Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=632236
Reviewed-by: Jan Görig <jgorig@redhat.com>
This commit is contained in:
Jan Görig
2011-01-19 12:50:26 +01:00
parent 4736dad559
commit 8fde4af11d
3 changed files with 11 additions and 2 deletions

View File

@ -14,6 +14,7 @@
EXTERN_C_BEGIN
void init_Linux_version(void); /* Get Linux version */
extern void display_version(void); /* display suite version */
extern const char procps_version[]; /* global buf for suite version */