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/command.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/command.h')
-rw-r--r-- | include/glibtop/command.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/glibtop/command.h b/include/glibtop/command.h index a087e6f8..b888cdfa 100644 --- a/include/glibtop/command.h +++ b/include/glibtop/command.h @@ -87,8 +87,13 @@ struct _glibtop_response #define glibtop_call(p1, p2, p3, p4) glibtop_call_r(glibtop_global_server, p1, p2, p3, p4) -extern void *glibtop_call_l __P((glibtop *, unsigned, size_t, const void *, size_t, void *)); -extern void *glibtop_call_s __P((glibtop *, unsigned, size_t, const void *, size_t, void *)); +void * +glibtop_call_l (glibtop *server, unsigned command, size_t send_size, + const void *send_buf, size_t recv_size, void *recv_buf); + +void * +glibtop_call_s (glibtop *server, unsigned command, size_t send_size, + const void *send_buf, size_t recv_size, void *recv_buf); __END_DECLS |