summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-message.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-10-29 00:29:52 +0000
committerHavoc Pennington <hp@redhat.com>2003-10-29 00:29:52 +0000
commit86351a1e3a6584dadaf001e24d10bf957cdef642 (patch)
tree8d1255119400866ba7d77d57b670c50823f1706a /dbus/dbus-message.c
parentddc560a9aa276416e7b5c51dc407c90926263b82 (diff)
2003-10-28 Havoc Pennington <hp@redhat.com>
* dbus/dbus-message.c (get_next_field): delete unused function
Diffstat (limited to 'dbus/dbus-message.c')
-rw-r--r--dbus/dbus-message.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/dbus/dbus-message.c b/dbus/dbus-message.c
index 864e6b15..50f3107c 100644
--- a/dbus/dbus-message.c
+++ b/dbus/dbus-message.c
@@ -428,34 +428,6 @@ append_string_field (DBusMessage *message,
}
static int
-get_next_field (DBusMessage *message,
- int field)
-{
- int offset;
- int closest;
- int i;
- int retval;
-
- offset = message->header_fields[field].name_offset;
- retval = DBUS_HEADER_FIELD_INVALID;
-
- i = 0;
- closest = _DBUS_INT_MAX;
- while (i < DBUS_HEADER_FIELD_LAST)
- {
- if (message->header_fields[i].name_offset > offset &&
- message->header_fields[i].name_offset < closest)
- {
- closest = message->header_fields[i].name_offset;
- retval = i;
- }
- ++i;
- }
-
- return retval;
-}
-
-static int
get_type_alignment (int type)
{
int alignment;