diff options
author | Martin Baulig <martin@home-of-linux.org> | 1999-02-18 20:39:37 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1999-02-18 20:39:37 +0000 |
commit | 69fed8d42d22d3dce1a43f80c66fd7b1e87a4cbc (patch) | |
tree | 243467438318582ba5c31eeb9d6e33db3f227afb /include/glibtop/open.h | |
parent | 1da82649840b510a90ba1ee31578a75c989948e1 (diff) | |
download | libgtop-69fed8d42d22d3dce1a43f80c66fd7b1e87a4cbc.tar.gz |
Use glib-like function prototypes instead of "extern <function>
1999-02-18 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/*.h: Use glib-like function prototypes
instead of "extern <function> __P((args))".
Diffstat (limited to 'include/glibtop/open.h')
-rw-r--r-- | include/glibtop/open.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/include/glibtop/open.h b/include/glibtop/open.h index 0e0248fa..8c0ba1f0 100644 --- a/include/glibtop/open.h +++ b/include/glibtop/open.h @@ -49,11 +49,22 @@ __BEGIN_DECLS #define GLIBTOP_ERROR_METHOD_DEFAULT GLIBTOP_ERROR_METHOD_WARN_ONCE -extern void glibtop_open_l __P((glibtop *, const char *, const unsigned long, const unsigned)); +void +glibtop_open_l (glibtop *server, const char *program_name, + const unsigned long features, const unsigned flags); + +void +glibtop_init_p (glibtop *server, const unsigned long features, + const unsigned flags); + +void +glibtop_open_p (glibtop *server, const char *program_name, + const unsigned long features, const unsigned flags); + +void +glibtop_open_s (glibtop *server, const char *program_name, + const unsigned long features, const unsigned flags); -extern void glibtop_init_p __P((glibtop *, const unsigned long, const unsigned)); -extern void glibtop_open_p __P((glibtop *, const char *, const unsigned long, const unsigned)); -extern void glibtop_open_s __P((glibtop *, const char *, const unsigned long, const unsigned)); __END_DECLS |