Fix config.h include order

The header "config.h" needs to be the first header included in the
source file, no exceptions.
pespin/rlcmac
João Valverde 1 year ago
parent 2c7d22dba2
commit 5f79503d67
  1. 2
      epan/dissectors/packet-btmesh.c
  2. 2
      epan/dissectors/packet-cfdp.c
  3. 3
      epan/dissectors/packet-noe.c
  4. 1
      epan/wslua/wslua_capture_info.c
  5. 1
      epan/wslua/wslua_column.c
  6. 1
      epan/wslua/wslua_file.c
  7. 1
      epan/wslua/wslua_file_common.c
  8. 2
      epan/wslua/wslua_file_common.h
  9. 1
      epan/wslua/wslua_file_handler.c
  10. 1
      epan/wslua/wslua_frame_info.c
  11. 1
      epan/wslua/wslua_pinfo.c
  12. 1
      epan/wslua/wslua_pinfo_common.h
  13. 1
      extcap.h
  14. 1
      extcap/etw_message.c
  15. 1
      extcap/etw_message.h
  16. 1
      extcap/extcap-base.h
  17. 1
      extcap_parser.h
  18. 1
      plugins/epan/mate/mate.h
  19. 2
      plugins/epan/mate/mate_runtime.c
  20. 2
      plugins/epan/mate/mate_setup.c
  21. 2
      plugins/epan/mate/mate_util.c
  22. 2
      plugins/epan/mate/packet-mate.c
  23. 1
      plugins/epan/transum/decoders.h
  24. 1
      plugins/epan/transum/extractors.h
  25. 1
      plugins/epan/transum/preferences.h
  26. 1
      ui/iface_toolbar.h

@ -12,11 +12,11 @@
*
* Ref: Mesh Profile v1.0
*/
#include "config.h"
#include "packet-bluetooth.h"
#include "packet-btatt.h"
#include "packet-btmesh.h"
#include "config.h"
#include <epan/packet.h>
#include <epan/prefs.h>

@ -13,10 +13,10 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <stdio.h>
#include "config.h"
#include <epan/packet.h>
#include <epan/expert.h>
#include "packet-dtn.h"

@ -9,11 +9,10 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <stdlib.h>
#include "config.h"
#include "epan/packet.h"
void proto_register_noe(void);
void proto_reg_handoff_noe(void);

@ -12,6 +12,7 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include "wslua_file_common.h"

@ -14,6 +14,7 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include "wslua_pinfo_common.h"

@ -12,6 +12,7 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include "wslua_file_common.h"

@ -24,6 +24,7 @@
* two files opened at the same time for the same Lua script (due to reload
* and other such events), the script can't just have one file state.
*/
#include "config.h"
#include "wslua_file_common.h"

@ -16,8 +16,6 @@
/* See wslua_file_common.c for details */
#include "config.h"
#include "wslua.h"
#include <wiretap/wtap_opttypes.h>
#include <wiretap/wtap-int.h>

@ -12,6 +12,7 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include "wslua_file_common.h"

@ -12,6 +12,7 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include "wslua_file_common.h"
#include <lua.h>

@ -13,6 +13,7 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include "wslua_pinfo_common.h"

@ -15,7 +15,6 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include "wslua.h"

@ -12,7 +12,6 @@
#ifndef __EXTCAP_H__
#define __EXTCAP_H__
#include <config.h>
#include <glib.h>

@ -8,6 +8,7 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include "etw_message.h"
#include <wsutil/wslog.h>

@ -13,7 +13,6 @@
#define __W_ETW_MESSAGE_H__
#include <glib.h>
#include "config.h"
#include <windows.h>
#include <SDKDDKVer.h>

@ -12,7 +12,6 @@
#ifndef __EXTCAP_BASE_H__
#define __EXTCAP_BASE_H__
#include "config.h"
#include <glib.h>
#include <glib/gprintf.h>

@ -14,7 +14,6 @@
#include <glib.h>
#include <string.h>
#include <config.h>
#include "ui/iface_toolbar.h"
typedef enum {

@ -14,7 +14,6 @@
#ifndef __MATE_H_
#define __MATE_H_
#include "config.h"
#define WS_LOG_DOMAIN "MATE"
#include <gmodule.h>

@ -10,6 +10,8 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include "mate.h"
#include <wsutil/ws_assert.h>

@ -10,6 +10,8 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include "mate.h"
/* appends the formatted string to the current error log */

@ -11,6 +11,8 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include "mate.h"
#include "mate_util.h"
#include <wsutil/file_util.h>

@ -16,6 +16,8 @@
* It is intended for this to be just the user interface to the module. ***
**************************************************************************/
#include "config.h"
#include "mate.h"
#include <epan/expert.h>

@ -9,7 +9,6 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
int decode_syn(packet_info *pinfo, proto_tree *tree, PKT_INFO* pkt_info);
int decode_dcerpc(packet_info *pinfo, proto_tree *tree, PKT_INFO* pkt_info);

@ -9,7 +9,6 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/prefs.h>
#include <epan/packet.h>

@ -9,7 +9,6 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/prefs.h>

@ -10,7 +10,6 @@
#ifndef __IFACE_TOOLBAR_H__
#define __IFACE_TOOLBAR_H__
#include "config.h"
#ifdef __cplusplus
extern "C" {

Loading…
Cancel
Save