diff options
author | Martin Baulig <martin@home-of-linux.org> | 1999-11-21 17:07:42 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1999-11-21 17:07:42 +0000 |
commit | 3f8ad111b2764f901656d70e7b279c37812f1c20 (patch) | |
tree | 0ededc5a9608b3280d9a5dce8dfdb4a1789c0608 /include/glibtop/sysdeps.h | |
parent | 81176f81816226df3640b6e3f70cf9d72f40744f (diff) | |
download | libgtop-3f8ad111b2764f901656d70e7b279c37812f1c20.tar.gz |
Use `int' as return type, not `void'.
1999-11-21 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/sysdeps.h (glibtop_init_func_t): Use `int'
as return type, not `void'.
* include/glibtop/proclist.h (GLIBTOP_KERN_PROC_PPID): On a
suggestion from Sebastian Fischmeister added a way to return
all children of a given process.
Diffstat (limited to 'include/glibtop/sysdeps.h')
-rw-r--r-- | include/glibtop/sysdeps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/glibtop/sysdeps.h b/include/glibtop/sysdeps.h index 32a7e376..baa353e3 100644 --- a/include/glibtop/sysdeps.h +++ b/include/glibtop/sysdeps.h @@ -57,7 +57,7 @@ BEGIN_LIBGTOP_DECLS #define GLIBTOP_SYSDEPS_ALL ((1 << GLIBTOP_MAX_SYSDEPS) - 1) -typedef void (*glibtop_init_func_t) (glibtop *); +typedef int (*glibtop_init_func_t) (glibtop *); extern glibtop_init_func_t _glibtop_init_hook_s []; extern glibtop_init_func_t _glibtop_init_hook_p []; |