Added `#include <types.h>'.

1998-06-06  Martin Baulig  <martin@home-of-linux.org>

        * glibtop.h: Added `#include <types.h>'.

        * include/glibtop/types.h: New file - numeric constants
        for `glibtop_types_<feature>'.

        * sysdeps/names/*.c (glibtop_types_*): Using numeric
        constants from `types.h' instead of string constants.
This commit is contained in:
Martin Baulig
1998-06-06 18:19:16 +00:00
committed by Martin Baulig
parent d3f9cb80d7
commit de5cf356c9
18 changed files with 74 additions and 26 deletions

View File

@@ -30,8 +30,9 @@ const char *glibtop_names_proc_kernel [GLIBTOP_MAX_PROC_KERNEL] =
const char *glibtop_types_proc_kernel [GLIBTOP_MAX_PROC_KERNEL] =
{
"unsigned long", "unsigned long", "unsigned long", "unsigned long",
"unsigned long", "unsigned long", "unsigned long", "unsigned long"
GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG,
GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG,
GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG
};
const char *glibtop_labels_proc_kernel [GLIBTOP_MAX_PROC_KERNEL] =