diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-10 19:06:43 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-10 19:07:48 +0100 |
commit | 1776fff91735a3be5ad2b0a9dee727d614668fb7 (patch) | |
tree | e6629c024963231befda005e9779185d51100c16 /src/libsystemd | |
parent | 7303ec8f3009d6630a994644ad9e539813badc52 (diff) |
sd-bus: make BUS_ERROR_MAP_ELF_USE() use a const variable
Diffstat (limited to 'src/libsystemd')
-rw-r--r-- | src/libsystemd/sd-bus/bus-error.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-error.h b/src/libsystemd/sd-bus/bus-error.h index 66c98b0b38..fb0199c948 100644 --- a/src/libsystemd/sd-bus/bus-error.h +++ b/src/libsystemd/sd-bus/bus-error.h @@ -56,7 +56,7 @@ int bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_lis #define BUS_ERROR_MAP_ELF_USE(errors) \ extern const sd_bus_error_map errors[]; \ - __attribute__ ((used)) static const sd_bus_error_map * CONCATENATE(errors ## _copy_, __COUNTER__) = errors; + __attribute__ ((used)) static const sd_bus_error_map * const CONCATENATE(errors ## _copy_, __COUNTER__) = errors; /* We use something exotic as end marker, to ensure people build the * maps using the macsd-ros. */ |