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:
committed by
Martin Baulig
parent
81176f8181
commit
3f8ad111b2
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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 [];
|
||||
|
||||
|
Reference in New Issue
Block a user