diff options
author | Havoc Pennington <hp@redhat.com> | 2003-10-29 00:29:52 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-10-29 00:29:52 +0000 |
commit | 86351a1e3a6584dadaf001e24d10bf957cdef642 (patch) | |
tree | 8d1255119400866ba7d77d57b670c50823f1706a /dbus/dbus-message.c | |
parent | ddc560a9aa276416e7b5c51dc407c90926263b82 (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.c | 28 |
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; |