Letting .c files include their "own" header file guarantees that the
declaration in the header file stays in sync with the definition.
Eventually we may even enable gcc's -Wmissing-declarations, but
we're not there yet, mainly due to command handlers, init functions
and completers.
Note that including signal.h in signal.c required two other includes
since the header file defines a task structure.
#include "string.h"
#include "list.h"
#include "net.h"
+#include "acl.h"
/**
* Describes one entry in the blacklist/whitelist of a paraslash sender.
#include "afh.h"
#include "string.h"
#include "error.h"
+#include "chunk_queue.h"
/**
* Senders may use the chunk queue facility to deal with laggy connections. It
#include "para.h"
#include "list.h"
#include "string.h"
+#include "close_on_fork.h"
static struct list_head close_on_fork_list;
static int initialized;
#include "ipc.h"
#include "mm.h"
#include "sideband.h"
+#include "mood.h"
/**
* Contains statistical data of the currently admissible audio files.
#include "para.h"
#include "error.h"
#include "fd.h"
+#include "list.h"
+#include "sched.h"
+#include "signal.h"
static int signal_pipe[2];
/** \file version.c Some helpers for printing version and copyright strings. */
#include "para.h"
+#include "version.h"
/** \file version.h Macros for printing the version string. */
#include "buffer_tree.h"
#include "write.h"
#include "error.h"
+#include "write_common.h"
/** the array containing the names of all supported writers */
const char *writer_names[] ={WRITER_NAMES};