Added -Werror.
2000-11-22 Martin Baulig <martin@home-of-linux.org> * configure.in (INCLUDES): Added -Werror. * include/glibtop/open.h (_glibtop_open_sysdeps): The first argument is now a `glibtop_client *', removed the `flags' argument and added `const char **backend_args' and `GError **opt_error'.
This commit is contained in:
committed by
Martin Baulig
parent
f704c4becf
commit
6e4f80b8e2
@@ -33,13 +33,14 @@ const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 0, NULL, NULL } };
|
||||
|
||||
void
|
||||
_glibtop_open_sysdeps (glibtop *server, const char *program_name,
|
||||
const unsigned long features, const unsigned flags)
|
||||
_glibtop_open_sysdeps (glibtop_client *client, const char *program_name,
|
||||
const u_int64_t features, const char **backend_args,
|
||||
GError **opt_error)
|
||||
{
|
||||
glibtop_open_backend_l (server, "glibtop-backend-common",
|
||||
features, NULL);
|
||||
glibtop_open_backend_l (server, "glibtop-backend-sysdeps",
|
||||
features, NULL);
|
||||
glibtop_open_backend_l (server, "glibtop-backend-server",
|
||||
features, NULL);
|
||||
glibtop_open_backend_l (client, "glibtop-backend-common",
|
||||
features, backend_args, opt_error);
|
||||
glibtop_open_backend_l (client, "glibtop-backend-sysdeps",
|
||||
features, backend_args, opt_error);
|
||||
glibtop_open_backend_l (client, "glibtop-backend-server",
|
||||
features, backend_args, opt_error);
|
||||
}
|
||||
|
Reference in New Issue
Block a user