summaryrefslogtreecommitdiff
path: root/libdhcp/include
diff options
context:
space:
mode:
Diffstat (limited to 'libdhcp/include')
-rw-r--r--libdhcp/include/libdhcp/client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdhcp/include/libdhcp/client.h b/libdhcp/include/libdhcp/client.h
index 1aa23d0..c3cb76f 100644
--- a/libdhcp/include/libdhcp/client.h
+++ b/libdhcp/include/libdhcp/client.h
@@ -69,7 +69,7 @@
#include <libhw/generic/net.h>
-__attribute__((noreturn)) void dhcp_client_main(implements_net_iface *iface,
- char *self_hostname);
+[[noreturn]] void dhcp_client_main(implements_net_iface *iface,
+ char *self_hostname);
#endif /* _LIBDHCP_CLIENT_H_ */