]> granicus.if.org Git - procps-ng/commitdiff
library: remove an obsolete 'jiffs' typedef in sysinfo
authorJim Warner <james.warner@comcast.net>
Thu, 28 Apr 2016 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sun, 8 May 2016 11:12:22 +0000 (21:12 +1000)
During work on the new <stat> interface the typedef of
jiffs was eliminated along with the clang warning. The
exact same warning in sysinfo.h now goes bye-bye also.

Reference(s):
./proc/sysinfo.h:16:28: warning: redefinition of typedef 'jiff' is a C11 feature [-Wtypedef-redefinition]
typedef unsigned long long jiff;

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/sysinfo.h

index 7573068641f435197d968768bcb09b6a456f5c01..388753a2a85eba718730126e5774290f78f00a1c 100644 (file)
@@ -14,7 +14,6 @@ int procps_loadavg(double *av1, double *av5, double *av15);
 unsigned int procps_pid_length(void);
 
 #define BUFFSIZE (64*1024)
-typedef unsigned long long jiff;
 
 typedef struct slab_cache{
        char name[48];