Bug 2031 - Double included headers
Double included headers
Status: NEW
Product: unbound
Classification: Unclassified
Component: server
1.6.7
x86_64 Linux
: P5 enhancement
Assigned To: unbound team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-25 13:58 CEST by Дилян Палаузов
Modified: 2017-10-25 15:30 CEST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Дилян Палаузов 2017-10-25 13:58:03 CEST
deheader (ttps://gitlab.com/esr/deheader.git) says:

deheader: ./services/localzone.c has more than one inclusion of "util/config_file.h"
deheader: ./testcode/unitmain.c has more than one inclusion of "util/config_file.h"
deheader: ./util/configlexer.c has more than one inclusion of <string.h>
"./util/ub_event.c", line 442: unbalanced #endif

The last meaning that in ub_event.c:L430 the #ifdef is not aligned to the first column and the second last message states that flex inserts #include <string.h>, so line 17 from configlexer.lex can be removed.
Comment 1 Ralph Dolmans 2017-10-25 15:30:47 CEST
Hello,

Thanks again for your report! I deleted the duplicate include statements.

-- Ralph