(trunk libT) "transmission.h" should *always* be #included before any other libtransmission header

This commit is contained in:
Charles Kerr 2010-04-23 16:36:16 +00:00
parent 75d92bfb33
commit 74216be9df
4 changed files with 4 additions and 7 deletions

View File

@ -27,6 +27,7 @@
#include <event.h>
#include "transmission.h"
#include "crypto.h"
#include "utils.h"

View File

@ -21,8 +21,8 @@
#include <unistd.h>
#include <dirent.h>
#include "crypto.h" /* tr_sha1 */
#include "transmission.h"
#include "crypto.h" /* tr_sha1 */
#include "session.h"
#include "bencode.h"
#include "makemeta.h"

View File

@ -20,8 +20,6 @@
#include <stdlib.h> /* malloc() */
#include <time.h> /* time_t */
#include "transmission.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -37,12 +37,10 @@
** on.
*/
#include "transmission.h"
#include "utils.h"
#define TRUE 1
#define FALSE 0
#define ABORT -1
#define ABORT -1
/* What character marks an inverted character class? */
#define NEGATE_CLASS '^'