diff options
author | Havoc Pennington <hp@redhat.com> | 2006-08-30 01:27:44 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2006-08-30 01:27:44 +0000 |
commit | afc2a6e56a65ff9154d4eb1b346157a7d625945d (patch) | |
tree | a1f85ab97ba8697d11083b836a5d80915d442223 /dbus/dbus-sysdeps.h | |
parent | 338c96b4c69c9d870f41aa6d836338d89e6ed9c3 (diff) |
2006-08-29 Havoc Pennington <hp@redhat.com>
* test/test-service.c (path_message_func): fix lack of return value
* dbus/dbus-sysdeps.c (_dbus_printf_string_upper_bound): fix
formatting, remove #ifdef, and fix docs. #ifdef doesn't make
any more sense than on anything else in this file.
(_dbus_get_tmpdir): add const to return value, and keep the
results of the various getenv around in a static variable.
Diffstat (limited to 'dbus/dbus-sysdeps.h')
-rw-r--r-- | dbus/dbus-sysdeps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps.h b/dbus/dbus-sysdeps.h index 1df9986e..f1803669 100644 --- a/dbus/dbus-sysdeps.h +++ b/dbus/dbus-sysdeps.h @@ -323,7 +323,7 @@ void _dbus_set_signal_handler (int sig, dbus_bool_t _dbus_file_exists (const char *file); dbus_bool_t _dbus_user_at_console (const char *username, DBusError *error); -char* _dbus_get_tmpdir(void); +const char* _dbus_get_tmpdir (void); /* Define DBUS_VA_COPY() to do the right thing for copying va_list variables. * config.h may have already defined DBUS_VA_COPY as va_copy or __va_copy. |