mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-25 04:17:42 +00:00
Instead of having a #ifdef in the main init code we now use the registered init functions. Doing so also enables error checking as errors were previously reported as alerts but ignored. Also they were incorrect as the 'status' variable was hidden by a second one and was always reporting DA_SYS (which is apparently an error) in every case including the case where no file was loaded. The init_deviceatlas() function was unexported since it's not used outside of this place anymore.
11 lines
155 B
C
11 lines
155 B
C
#ifndef _IMPORT_DA_H
|
|
#define _IMPORT_DA_H
|
|
#ifdef USE_DEVICEATLAS
|
|
|
|
#include <types/global.h>
|
|
#include <dac.h>
|
|
|
|
void deinit_deviceatlas(void);
|
|
#endif
|
|
#endif
|