Commit 82e82dcd authored by Niels Möller's avatar Niels Möller
Browse files

Reordered includes in most or all .c-files. All should now include

config.h.

Rev: src/abstract_compress.c:1.6
Rev: src/abstract_io.c:1.5
Rev: src/algorithms.c:1.35
Rev: src/alist.c:1.23
Rev: src/bignum.c:1.24
Rev: src/channel_commands.c:1.28
Rev: src/client_keyexchange.c:1.62
Rev: src/client_pty.c:1.26
Rev: src/client_x11.c:1.24
Rev: src/combinators.c:1.19
Rev: src/compress.c:1.10
Rev: src/connection_commands.c:1.43
Rev: src/crypto.c:1.35
Rev: src/daemon.c:1.11
Rev: src/dh_exchange.c:1.16
Rev: src/dsa.c:1.39
Rev: src/dsa_keygen.c:1.26
Rev: src/encrypt.c:1.26
Rev: src/format.c:1.53
Rev: src/interact.c:1.7
Rev: src/jpoll.c:1.8
Rev: src/list.c:1.10
Rev: src/lock_file.c:1.7
Rev: src/lookup_verifier.c:1.4
Rev: src/lsh-export-key.c:1.18
Rev: src/lsh-keygen.c:1.17
Rev: src/lsh-krb-checkpw.c:1.5
Rev: src/lsh-make-seed.c:1.12
Rev: src/lsh-writekey.c:1.31
Rev: src/lsh.c:1.186
Rev: src/lsh_argp.h:1.3
Rev: src/lsh_proxy.c:1.36
Rev: src/lshd.c:1.158
Rev: src/lshg.c:1.22
Rev: src/memcmp.c:1.3
Rev: src/pad.c:1.27
Rev: src/parse.c:1.38
Rev: src/pkcs5-test.c:1.7
Rev: src/pkcs5.c:1.8
Rev: src/proxy.c:1.17
Rev: src/proxy_agentforward.c:1.6
Rev: src/proxy_session.c:1.11
Rev: src/proxy_tcpforward.c:1.8
Rev: src/proxy_userauth.c:1.14
Rev: src/proxy_x11forward.c:1.7
Rev: src/randomness.c:1.29
Rev: src/read_packet.c:1.54
Rev: src/reaper.c:1.26
Rev: src/resource.c:1.27
Rev: src/rsa.c:1.28
Rev: src/rsa_keygen.c:1.16
Rev: src/server.c:1.74
Rev: src/server_authorization.c:1.21
Rev: src/server_keyexchange.c:1.55
Rev: src/sexp.c:1.48
Rev: src/spki.c:1.51
Rev: src/srp-gen.c:1.18
Rev: src/srp_exchange.c:1.19
Rev: src/suspend.c:1.5
Rev: src/testsuite/testutils.h:1.7
Rev: src/translate_signal.c:1.6
Rev: src/tty.c:1.18
Rev: src/unix_random.c:1.15
Rev: src/userauth.c:1.7
Rev: src/version.h:1.10
parent 3976c70b
......@@ -23,6 +23,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include "abstract_compress.h"
#define GABA_DEFINE
......
......@@ -23,6 +23,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include "abstract_io.h"
#define GABA_DEFINE
......
......@@ -23,6 +23,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include "algorithms.h"
#include "atoms.h"
......
......@@ -23,6 +23,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include "alist.h"
......@@ -31,8 +36,6 @@
#include "werror.h"
#include "xalloc.h"
#include <assert.h>
#define GABA_DEFINE
#include "alist.h.x"
#undef GABA_DEFINE
......
......@@ -21,16 +21,19 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "bignum.h"
#include "randomness.h"
#include "werror.h"
#include "nettle/bignum.h"
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include <limits.h>
#include <stdlib.h>
#include "nettle/bignum.h"
#include "bignum.h"
#include "randomness.h"
#include "werror.h"
/* Returns a random number, 0 <= x < 2^bits. */
static void
......
......@@ -21,6 +21,12 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include "channel_commands.h"
#include "ssh.h"
......@@ -33,8 +39,6 @@
#include "channel_commands.c.x"
#include <assert.h>
void
do_channel_open_command(struct command *s,
struct lsh_object *x,
......
......@@ -21,6 +21,12 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include "client_keyexchange.h"
#include "atoms.h"
......@@ -34,8 +40,6 @@
#include "werror.h"
#include "xalloc.h"
#include <assert.h>
#include "client_keyexchange.c.x"
/* GABA:
......
......@@ -21,6 +21,12 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include "client.h"
#include "channel_commands.h"
......@@ -31,8 +37,6 @@
#include "werror.h"
#include "xalloc.h"
#include <assert.h>
#include "client_pty.c.x"
/* GABA:
......
......@@ -38,6 +38,8 @@
#include <netinet/in.h>
#include "nettle/macros.h"
#include "client.h"
#include "channel_forward.h"
......
......@@ -23,12 +23,16 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include "command.h"
#include "werror.h"
#include "xalloc.h"
#include <assert.h>
#include "combinators.c.x"
/* Combinators */
......
......@@ -23,6 +23,12 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include "compress.h"
#include "exception.h"
......@@ -31,8 +37,6 @@
#include "compress.c.x"
#include <assert.h>
/* GABA:
(class
(name packet_compressor)
......
......@@ -21,6 +21,12 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include "connection_commands.h"
#include "connection.h"
......@@ -28,8 +34,6 @@
#include "werror.h"
#include "xalloc.h"
#include <assert.h>
#define GABA_DEFINE
#include "connection_commands.h.x"
#undef GABA_DEFINE
......
......@@ -30,11 +30,6 @@
#include <assert.h>
#include <string.h>
#include "crypto.h"
#include "werror.h"
#include "xalloc.h"
#include "nettle/arcfour.h"
#include "nettle/aes.h"
#include "nettle/blowfish.h"
......@@ -46,6 +41,11 @@
#include "nettle/cbc.h"
#include "nettle/hmac.h"
#include "crypto.h"
#include "werror.h"
#include "xalloc.h"
#include "crypto.c.x"
......
......@@ -24,11 +24,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "daemon.h"
#include "format.h"
#include "werror.h"
#include "xalloc.h"
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <stdio.h>
......@@ -49,6 +47,13 @@
#include <sys/socket.h>
#include <sys/wait.h>
#include "daemon.h"
#include "format.h"
#include "werror.h"
#include "xalloc.h"
#ifndef PID_DIR
#define PID_DIR "/var/run"
#endif
......
......@@ -21,6 +21,12 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include "publickey_crypto.h"
#include "connection.h"
......@@ -31,8 +37,6 @@
#include "werror.h"
#include "xalloc.h"
#include <assert.h>
void
init_dh_instance(struct dh_method *m,
struct dh_instance *self,
......
......@@ -27,6 +27,11 @@
#include <assert.h>
#include "nettle/bignum.h"
#include "nettle/dsa.h"
#include "nettle/sexp.h"
#include "nettle/sha.h"
#include "publickey_crypto.h"
#include "atoms.h"
......@@ -38,11 +43,6 @@
#include "werror.h"
#include "xalloc.h"
#include "nettle/bignum.h"
#include "nettle/dsa.h"
#include "nettle/sexp.h"
#include "nettle/sha.h"
#include "dsa.c.x"
/* The standard says that DSA public keys are at most 1024 bits, i.e.
......
......@@ -23,6 +23,14 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include "nettle/dsa.h"
#include "publickey_crypto.h"
#include "format.h"
......@@ -30,10 +38,6 @@
#include "sexp.h"
#include "werror.h"
#include "nettle/dsa.h"
#include <assert.h>
/* FIXME: Let caller supply the progress function. */
......
......@@ -27,6 +27,8 @@
#include <string.h>
#include "nettle/macros.h"
#include "encrypt.h"
#include "format.h"
......
......@@ -28,14 +28,15 @@
#include <assert.h>
#include <string.h>
#include "nettle/bignum.h"
#include "nettle/macros.h"
#include "format.h"
#include "list.h"
#include "werror.h"
#include "xalloc.h"
#include "nettle/bignum.h"
struct lsh_string *ssh_format(const char *format, ...)
{
va_list args;
......
......@@ -23,11 +23,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "interact.h"
#include "io.h"
#include "werror.h"
#include "xalloc.h"
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
......@@ -38,6 +36,12 @@
#include <errno.h>
#include <fcntl.h>
#include "interact.h"
#include "io.h"
#include "werror.h"
#include "xalloc.h"
#define GABA_DEFINE
#include "interact.h.x"
#undef GABA_DEFINE
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment