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.
This commit is contained in:
Martin Baulig
1999-11-21 17:07:42 +00:00
committed by Martin Baulig
parent 81176f8181
commit 3f8ad111b2
3 changed files with 11 additions and 1 deletions

View File

@@ -1,3 +1,12 @@
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.
1999-11-02 Jesus Bravo Alvarez <jba@pobox.com>
* configure.in: Added Galician (gl) to ALL_LINGUAS

View File

@@ -47,6 +47,7 @@ BEGIN_LIBGTOP_DECLS
#define GLIBTOP_KERN_PROC_TTY 4
#define GLIBTOP_KERN_PROC_UID 5
#define GLIBTOP_KERN_PROC_RUID 6
#define GLIBTOP_KERN_PROC_PPID 7
#define GLIBTOP_KERN_PROC_MASK 15

View File

@@ -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 [];