mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(trunk libT) "transmission.h" should *always* be #included before any other libtransmission header
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <event.h>
|
||||
|
||||
#include "transmission.h"
|
||||
#include "crypto.h"
|
||||
#include "utils.h"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
#include <stdlib.h> /* malloc() */
|
||||
#include <time.h> /* time_t */
|
||||
|
||||
#include "transmission.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@@ -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 '^'
|
||||
|
||||
Reference in New Issue
Block a user