include config.h for options.h. don't need to include options.h when

includes.h brings it in
This commit is contained in:
Matt Johnston 2018-02-18 11:22:13 +08:00
parent c2f2f2b817
commit 802dace05e
11 changed files with 5 additions and 10 deletions

View File

@ -23,7 +23,6 @@
* SOFTWARE. */
#include "includes.h"
#include "options.h"
#include "dbutil.h"
#include "tcpfwd.h"
#include "channel.h"

View File

@ -3,7 +3,7 @@
/* This header defines some things that are also used by libtomcrypt/math.
We avoid including normal include.h since that can result in conflicting
definitinos - only include config.h */
definitions - only include config.h */
#include "config.h"
#ifdef __GNUC__

1
ecc.c
View File

@ -1,5 +1,4 @@
#include "includes.h"
#include "options.h"
#include "ecc.h"
#include "dbutil.h"
#include "bignum.h"

1
ecc.h
View File

@ -2,7 +2,6 @@
#define DROPBEAR_DROPBEAR_ECC_H
#include "includes.h"
#include "options.h"
#include "buffer.h"

View File

@ -1,4 +1,3 @@
#include "options.h"
#include "includes.h"
#include "dbutil.h"
#include "crypto_desc.h"

View File

@ -26,7 +26,6 @@
#define DROPBEAR_INCLUDES_H_
#include "config.h"
#include "options.h"
#include "debug.h"

2
list.c
View File

@ -1,4 +1,4 @@
#include "options.h"
#include "includes.h"
#include "dbutil.h"
#include "list.h"

View File

@ -11,7 +11,6 @@
*
* Tom St Denis, tomstdenis@gmail.com, http://libtomcrypt.com
*/
#include "options.h"
#include "includes.h"
#include "dbrandom.h"
#include "ltc_prng.h"

View File

@ -1,7 +1,6 @@
#ifndef DROPBEAR_LTC_PRNG_H_DROPBEAR
#define DROPBEAR_LTC_PRNG_H_DROPBEAR
#include "options.h"
#include "includes.h"
#if DROPBEAR_LTC_PRNG

View File

@ -8,6 +8,9 @@ Local compile-time configuration should be defined in localoptions.h
See default_options.h.in for a description of the available options.
*/
/* Some configuration options or checks depend on system config */
#include "config.h"
#ifdef LOCALOPTIONS_H_EXISTS
#include "localoptions.h"
#endif

View File

@ -26,7 +26,6 @@
#define DROPBEAR_SESSION_H_
#include "includes.h"
#include "options.h"
#include "buffer.h"
#include "signkey.h"
#include "kex.h"