diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2024-05-17 08:54:00 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2024-06-19 16:28:28 +0200 |
commit | bfd5a0687fcc65e5617d5bab69ff653393f23e70 (patch) | |
tree | 10f216d7a6ebdd984df003259c5b84fe139a91bd /src/libsystemd-network/dhcp6-protocol.h | |
parent | Fix confusion between killer and prey (diff) | |
download | systemd-bfd5a0687fcc65e5617d5bab69ff653393f23e70.tar.xz systemd-bfd5a0687fcc65e5617d5bab69ff653393f23e70.zip |
various: move const ptr indicator to return value
Diffstat (limited to 'src/libsystemd-network/dhcp6-protocol.h')
-rw-r--r-- | src/libsystemd-network/dhcp6-protocol.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd-network/dhcp6-protocol.h b/src/libsystemd-network/dhcp6-protocol.h index ab75bad434..39f5040f9d 100644 --- a/src/libsystemd-network/dhcp6-protocol.h +++ b/src/libsystemd-network/dhcp6-protocol.h @@ -152,9 +152,9 @@ typedef enum DHCP6FQDNFlag { DHCP6_FQDN_FLAG_N = 1 << 2, } DHCP6FQDNFlag; -const char *dhcp6_state_to_string(DHCP6State s) _const_; -const char *dhcp6_message_type_to_string(DHCP6MessageType s) _const_; +const char* dhcp6_state_to_string(DHCP6State s) _const_; +const char* dhcp6_message_type_to_string(DHCP6MessageType s) _const_; DHCP6MessageType dhcp6_message_type_from_string(const char *s) _pure_; -const char *dhcp6_message_status_to_string(DHCP6Status s) _const_; +const char* dhcp6_message_status_to_string(DHCP6Status s) _const_; DHCP6Status dhcp6_message_status_from_string(const char *s) _pure_; int dhcp6_message_status_to_errno(DHCP6Status s); |