netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=894845d5ebd9cee8e859de6ede7fbd72af80656f

commit 894845d5ebd9cee8e859de6ede7fbd72af80656f
Author: Alastair Poole <nets...@gmail.com>
Date:   Tue Feb 2 21:58:22 2021 +0000

    procs: tbl.
    
    Need to check this...
---
 src/bin/system/process.c | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/src/bin/system/process.c b/src/bin/system/process.c
index 19f7009..8e90688 100644
--- a/src/bin/system/process.c
+++ b/src/bin/system/process.c
@@ -58,13 +58,6 @@ proc_info_kthreads_show_get(void)
    return _show_kthreads;
 }
 
-typedef struct _States States;
-struct _States
-{
-   int         id;
-   const char *name;
-};
-
 static const char * _states[255];
 
 static void
@@ -80,18 +73,18 @@ _states_init(void)
    _states['Z']     = "zombie";
 #else
    _states[SIDL]    = "idle";
-   _states[SRUN]    = "run";,
+   _states[SRUN]    = "run";
    _states[SSLEEP]  = "sleep";
    _states[SSTOP]   = "stop";
 #if !defined(__MacOS__)
 #if !defined(__OpenBSD__)
    _states[SWAIT]   = "wait";
-   _states[SLOCK]   = "lock";,
+   _states[SLOCK]   = "lock";
    _states[SZOMB]   = "zombie";
 #endif
 #if defined(__OpenBSD__)
    _states[SDEAD]   = "dead";
-   _states[SONPROC] = "onproc"};
+   _states[SONPROC] = "onproc";
 #endif
 #endif
 #endif

-- 


Reply via email to