From 9362aac398e3f2ec680e30c61ebfcb1e407eff72 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Mon, 12 Mar 2007 22:52:40 +0000 Subject: 2007-03-11 Havoc Pennington * tools/dbus-launch.c (do_close_stderr): fix C89 problem and formatting problem * Mostly fix the DBusPipe mess. - put line break after function return types - put space before parens - do not pass structs around by value - don't use dbus_strerror after calling supposedly cross-platform api - don't name pipe variables "fd" - abstract special fd numbers like -1 and 1 --- bus/bus.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bus/bus.h') diff --git a/bus/bus.h b/bus/bus.h index 0aea841a..bb51004b 100644 --- a/bus/bus.h +++ b/bus/bus.h @@ -70,8 +70,8 @@ typedef enum BusContext* bus_context_new (const DBusString *config_file, ForceForkSetting force_fork, - DBusPipe print_addr_fd, - DBusPipe print_pid_fd, + DBusPipe *print_addr_pipe, + DBusPipe *print_pid_pipe, DBusError *error); dbus_bool_t bus_context_reload_config (BusContext *context, DBusError *error); -- cgit