Clean-up header file usage:
1. Include <config.h> at the top of each .c 2. Remove "common.h" and config.h from all .h 3. Include "common.h" at the top of user includes in each .c The common.h was used inconsistently (either it's common or not).
Showing
- src/Makefile.am 0 additions, 5 deletionssrc/Makefile.am
- src/alloc/malloc.c 4 additions, 3 deletionssrc/alloc/malloc.c
- src/alloc/malloc.h 1 addition, 1 deletionsrc/alloc/malloc.h
- src/alloc/slab.c 3 additions, 1 deletionsrc/alloc/slab.c
- src/common.h 0 additions, 1 deletionsrc/common.h
- src/ctl/knotc_main.c 2 additions, 1 deletionsrc/ctl/knotc_main.c
- src/ctl/process.c 3 additions, 1 deletionsrc/ctl/process.c
- src/dnslib/consts.h 1 addition, 1 deletionsrc/dnslib/consts.h
- src/dnslib/debug.c 3 additions, 1 deletionsrc/dnslib/debug.c
- src/dnslib/descriptor.c 3 additions, 1 deletionsrc/dnslib/descriptor.c
- src/dnslib/descriptor.h 0 additions, 2 deletionssrc/dnslib/descriptor.h
- src/dnslib/dname.c 1 addition, 1 deletionsrc/dnslib/dname.c
- src/dnslib/dname.h 0 additions, 2 deletionssrc/dnslib/dname.h
- src/dnslib/dnslib.h 12 additions, 12 deletionssrc/dnslib/dnslib.h
- src/dnslib/edns.h 1 addition, 1 deletionsrc/dnslib/edns.h
- src/dnslib/node.c 3 additions, 2 deletionssrc/dnslib/node.c
- src/dnslib/rdata.c 4 additions, 3 deletionssrc/dnslib/rdata.c
- src/dnslib/rdata.h 1 addition, 2 deletionssrc/dnslib/rdata.h
- src/dnslib/response.c 7 additions, 6 deletionssrc/dnslib/response.c
- src/dnslib/response.h 2 additions, 2 deletionssrc/dnslib/response.h
Please register or sign in to comment