From 7011b04cb2472500d3a9e48b738817c5bedc5f2b Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Wed, 31 Mar 1999 17:34:39 +0000 Subject: [PATCH] Let the constants for the `state' field start at 1. --- include/glibtop/procstate.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/glibtop/procstate.h b/include/glibtop/procstate.h index ff1883cd..d56bd73e 100644 --- a/include/glibtop/procstate.h +++ b/include/glibtop/procstate.h @@ -44,12 +44,12 @@ BEGIN_LIBGTOP_DECLS #define GLIBTOP_MAX_PROC_STATE 9 /* Constants for the `state' field. */ -#define GLIBTOP_PROCESS_RUNNING 0 -#define GLIBTOP_PROCESS_INTERRUPTIBLE 1 -#define GLIBTOP_PROCESS_UNINTERRUPTIBLE 2 -#define GLIBTOP_PROCESS_ZOMBIE 4 -#define GLIBTOP_PROCESS_STOPPED 8 -#define GLIBTOP_PROCESS_SWAPPING 16 +#define GLIBTOP_PROCESS_RUNNING 1 +#define GLIBTOP_PROCESS_INTERRUPTIBLE 2 +#define GLIBTOP_PROCESS_UNINTERRUPTIBLE 4 +#define GLIBTOP_PROCESS_ZOMBIE 8 +#define GLIBTOP_PROCESS_STOPPED 16 +#define GLIBTOP_PROCESS_SWAPPING 32 typedef struct _glibtop_proc_state glibtop_proc_state;