plugins: config.h: move into src and rename to autoconf.h

While fixing files that include config.h, just remove the
include if possible.
pull/5282/head
Jason Ish 5 years ago committed by Victor Julien
parent f26d6eaf98
commit 900f1522b4

1
.gitignore vendored

@ -15,6 +15,7 @@ Makefile
m4/
TAGS
aclocal.m4
autoconf.h
autom4te.cache/
build/*
compile

@ -1,6 +1,6 @@
AC_INIT([suricata],[6.0.0-dev])
m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])AM_SILENT_RULES([yes])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_HEADERS([src/autoconf.h])
AC_CONFIG_SRCDIR([src/suricata.c])
AC_CONFIG_MACRO_DIR(m4)
AM_INIT_AUTOMAKE([tar-ustar subdir-objects])

@ -31,7 +31,6 @@
*/
#include "suricata-common.h"
#include "config.h"
#include "tm-threads.h"
#include "conf.h"
#include "runmodes.h"

@ -31,7 +31,6 @@
*/
#include "suricata-common.h"
#include "config.h"
#include "tm-threads.h"
#include "conf.h"
#include "runmodes.h"

@ -21,7 +21,6 @@
* \author Giuseppe Longo <giuseppelng@gmail.com>
*/
#include "suricata-common.h"
#include "config.h"
#include "tm-threads.h"
#include "conf.h"
#include "runmodes.h"

@ -21,7 +21,6 @@
*/
#include "suricata-common.h"
#include "config.h"
#include "util-unittest.h"
#include "runmode-unittests.h"

@ -33,7 +33,6 @@
#define PCAP_DONT_INCLUDE_PCAP_BPF_H 1
#define SC_PCAP_DONT_INCLUDE_PCAP_H 1
#include "suricata-common.h"
#include "config.h"
#include "suricata.h"
#include "decode.h"
#include "packet-queue.h"

@ -37,7 +37,6 @@
#include "tmqh-packetpool.h"
#include "conf.h"
#include "config.h"
#include "conf-yaml-loader.h"
#include "source-nfq-prototypes.h"
#include "action-globals.h"

@ -26,8 +26,6 @@
#define PFRING_IFACE_NAME_LENGTH 48
#include <config.h>
typedef struct PfringThreadVars_ PfringThreadVars;
/* PfringIfaceConfig flags */

@ -37,7 +37,7 @@
#define __USE_GNU
#if HAVE_CONFIG_H
#include <config.h>
#include <autoconf.h>
#endif
#ifndef CLS

@ -22,7 +22,6 @@
*/
#include "suricata-common.h"
#include "config.h"
#if HAVE_GETOPT_H
#include <getopt.h>

@ -1,7 +1,7 @@
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include "config.h"
#include "autoconf.h"
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);

@ -27,10 +27,6 @@
#ifndef __THREADS_H__
#define __THREADS_H__
#if HAVE_CONFIG_H
#include <config.h>
#endif
#if defined(TLS_C11)
#define thread_local _Thread_local
#elif defined(TLS_GNU)

@ -23,7 +23,6 @@
#include "suricata-common.h"
#include "config.h"
#include "suricata.h"
#include "util-bpf.h"

@ -23,7 +23,6 @@
*/
#include "suricata-common.h"
#include "config.h"
#include "conf.h"
#include "runmodes.h"
#include "util-conf.h"

@ -54,7 +54,7 @@
#include <bpf/libbpf.h>
#include <bpf/bpf.h>
#include <net/if.h>
#include "config.h"
#include "autoconf.h"
#define BPF_MAP_MAX_COUNT 16

@ -25,7 +25,6 @@
*/
#include "suricata-common.h"
#include "config.h"
#include "util-host-info.h"
#include "util-byte.h"

@ -22,7 +22,6 @@
*/
#include "suricata-common.h"
#include "config.h"
#include "suricata.h"
#include "util-byte.h"
#include "util-debug.h"

@ -25,7 +25,6 @@
*/
#include "suricata-common.h"
#include "config.h"
#include "tm-threads.h"
#include "conf.h"
#include "runmodes.h"

@ -21,7 +21,6 @@
*/
#include "suricata-common.h"
#include "config.h"
#include "app-layer-detect-proto.h"
#include "app-layer.h"
#include "app-layer-parser.h"

Loading…
Cancel
Save