chiark / gitweb /
libsystemd-bus: rename sd_bus_kernel_translate_request_name_flags
authorDaniel Mack <zonque@gmail.com>
Fri, 29 Nov 2013 20:14:07 +0000 (21:14 +0100)
committerDaniel Mack <zonque@gmail.com>
Fri, 29 Nov 2013 21:01:34 +0000 (22:01 +0100)
... to keep the namespace clean.

src/libsystemd-bus/bus-kernel.c
src/libsystemd-bus/bus-kernel.h

index 1b54ba5..cffdf09 100644 (file)
@@ -1020,7 +1020,7 @@ void bus_kernel_flush_memfd(sd_bus *b) {
                 close_and_munmap(b->memfd_cache[i].fd, b->memfd_cache[i].address, b->memfd_cache[i].size);
 }
 
-int sd_bus_kernel_translate_request_name_flags(uint64_t sd_bus_flags, uint64_t *kdbus_flags) {
+int kdbus_translate_request_name_flags(uint64_t sd_bus_flags, uint64_t *kdbus_flags) {
 
         assert_return(kdbus_flags != NULL, -EINVAL);
 
index 18ded49..4b63108 100644 (file)
@@ -69,5 +69,5 @@ void bus_kernel_flush_memfd(sd_bus *bus);
 
 int bus_kernel_parse_unique_name(const char *s, uint64_t *id);
 
-int sd_bus_kernel_translate_request_name_flags(uint64_t sd_bus_flags, uint64_t *kdbus_flags);
+int kdbus_translate_request_name_flags(uint64_t sd_bus_flags, uint64_t *kdbus_flags);
 int kdbus_translate_attach_flags(uint64_t sd_bus_flags, uint64_t *kdbus_flags);