Skip to content

sysdeps: Remove _dbus_string_append_int(), _uint()

Simon McVittie requested to merge smcv/dbus:string-int-append into master
  • sysdeps: Remove _dbus_string_append_uint()

    It's a wrapper around snprintf(), so we are not gaining any efficiency versus _dbus_string_append_printf(), and might as well use the more general function instead.

  • sysdeps: Remove _dbus_string_append_int()

    It's a wrapper around snprintf(), so we are not gaining any efficiency versus _dbus_string_append_printf(), and might as well use the more general function instead. Doing it this way might even be a little more efficient, since it reduces reallocations; it's certainly more concise.


Prompted by !444 (merged).

Merge request reports