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
@@ -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