mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
CLEANUP: da: use the build options list to report it
This removes one #ifdef from haproxy.c.
This commit is contained in:
parent
b5e58d6ba1
commit
3dd483e727
1
src/da.c
1
src/da.c
@ -364,4 +364,5 @@ static void __da_init(void)
|
||||
sample_register_fetches(&fetch_kws);
|
||||
sample_register_convs(&conv_kws);
|
||||
cfg_register_keywords(&dacfg_kws);
|
||||
hap_register_build_opts("Built with DeviceAtlas support.", 0);
|
||||
}
|
||||
|
@ -458,9 +458,6 @@ static void display_build_opts()
|
||||
printf("Built with network namespace support\n");
|
||||
#endif
|
||||
|
||||
#ifdef USE_DEVICEATLAS
|
||||
printf("Built with DeviceAtlas support\n");
|
||||
#endif
|
||||
list_for_each_entry(item, &build_opts_list, list) {
|
||||
puts(item->str);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user