summaryrefslogtreecommitdiff
path: root/dbus/dbus-message-internal.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tdz@users.sourceforge.net>2016-08-21 21:12:04 +0200
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2016-10-10 15:11:24 +0100
commit5350b54de74629c1caa88f9115260abbf1a303e4 (patch)
tree92672bf1667b03f6889c89bc929cf91b3cd5cd3e /dbus/dbus-message-internal.h
parent275605f5ee6162db9f09097a1dd06fa282ca784f (diff)
downloaddbus-5350b54de74629c1caa88f9115260abbf1a303e4.tar.gz
Fix warnings from compiler option '-Wsuggest-attribute=noreturn'
This patch fixes warnings from '-Wsuggest-attribute=noreturn'. We cannot enable it unconditionally as it would break libtool. Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Diffstat (limited to 'dbus/dbus-message-internal.h')
-rw-r--r--dbus/dbus-message-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/dbus-message-internal.h b/dbus/dbus-message-internal.h
index 4bb4d8bc..00259bf6 100644
--- a/dbus/dbus-message-internal.h
+++ b/dbus/dbus-message-internal.h
@@ -78,14 +78,18 @@ DBUS_PRIVATE_EXPORT
void _dbus_message_loader_return_buffer (DBusMessageLoader *loader,
DBusString *buffer);
+
+#ifdef HAVE_UNIX_FD_PASSING
DBUS_PRIVATE_EXPORT
dbus_bool_t _dbus_message_loader_get_unix_fds (DBusMessageLoader *loader,
int **fds,
unsigned *max_n_fds);
+
DBUS_PRIVATE_EXPORT
void _dbus_message_loader_return_unix_fds (DBusMessageLoader *loader,
int *fds,
unsigned n_fds);
+#endif
DBUS_PRIVATE_EXPORT
dbus_bool_t _dbus_message_loader_queue_messages (DBusMessageLoader *loader);