diff options
author | erdgeist <> | 2007-11-06 12:03:11 +0000 |
---|---|---|
committer | erdgeist <> | 2007-11-06 12:03:11 +0000 |
commit | bbbaa0e09d21b1f224acb1dc21b10192af086b46 (patch) | |
tree | 96ad13b78fb881f1b027e919c6d849346aef3ea5 | |
parent | 8900cc0dd980cb08a0af957a1d0dd849bf3c2ac6 (diff) |
Fixed warnings about newlines at end of file
-rw-r--r-- | ot_clean.c | 2 | ||||
-rw-r--r-- | ot_clean.h | 2 | ||||
-rw-r--r-- | ot_stats.c | 2 | ||||
-rw-r--r-- | ot_sync.h | 2 | ||||
-rw-r--r-- | ot_vector.h | 2 | ||||
-rw-r--r-- | trackerlogic.c | 3 |
6 files changed, 7 insertions, 6 deletions
@@ -116,4 +116,4 @@ void clean_init( void ) { | |||
116 | 116 | ||
117 | void clean_deinit( void ) { | 117 | void clean_deinit( void ) { |
118 | byte_zero( all_torrents_clean, sizeof( all_torrents_clean ) ); | 118 | byte_zero( all_torrents_clean, sizeof( all_torrents_clean ) ); |
119 | } \ No newline at end of file | 119 | } |
@@ -12,4 +12,4 @@ void clean_deinit( void ); | |||
12 | void clean_all_torrents( void ); | 12 | void clean_all_torrents( void ); |
13 | int clean_single_torrent( ot_torrent *torrent ); | 13 | int clean_single_torrent( ot_torrent *torrent ); |
14 | 14 | ||
15 | #endif \ No newline at end of file | 15 | #endif |
@@ -198,4 +198,4 @@ size_t return_memstat_for_tracker( char **reply ) { | |||
198 | fix_mmapallocation( *reply, allocated, replysize ); | 198 | fix_mmapallocation( *reply, allocated, replysize ); |
199 | 199 | ||
200 | return replysize; | 200 | return replysize; |
201 | } \ No newline at end of file | 201 | } |
@@ -11,4 +11,4 @@ size_t return_changeset_for_tracker( char **reply ); | |||
11 | int add_changeset_to_tracker( ot_byte *data, size_t len ); | 11 | int add_changeset_to_tracker( ot_byte *data, size_t len ); |
12 | #endif | 12 | #endif |
13 | 13 | ||
14 | #endif \ No newline at end of file | 14 | #endif |
diff --git a/ot_vector.h b/ot_vector.h index 8863855..c99a8b4 100644 --- a/ot_vector.h +++ b/ot_vector.h | |||
@@ -23,4 +23,4 @@ void *vector_find_or_insert( ot_vector *vector, void *key, size_t member_size, s | |||
23 | int vector_remove_peer( ot_vector *vector, ot_peer *peer, int hysteresis ); | 23 | int vector_remove_peer( ot_vector *vector, ot_peer *peer, int hysteresis ); |
24 | void vector_remove_torrent( ot_vector *vector, ot_torrent *match ); | 24 | void vector_remove_torrent( ot_vector *vector, ot_torrent *match ); |
25 | 25 | ||
26 | #endif \ No newline at end of file | 26 | #endif |
diff --git a/trackerlogic.c b/trackerlogic.c index c09f1b9..86ab512 100644 --- a/trackerlogic.c +++ b/trackerlogic.c | |||
@@ -5,6 +5,7 @@ | |||
5 | #include <stdlib.h> | 5 | #include <stdlib.h> |
6 | #include <string.h> | 6 | #include <string.h> |
7 | #include <stdio.h> | 7 | #include <stdio.h> |
8 | #include <arpa/inet.h> | ||
8 | #include <sys/types.h> | 9 | #include <sys/types.h> |
9 | #include <sys/mman.h> | 10 | #include <sys/mman.h> |
10 | #include <unistd.h> | 11 | #include <unistd.h> |
@@ -416,4 +417,4 @@ void trackerlogic_deinit( void ) { | |||
416 | } | 417 | } |
417 | mutex_deinit( ); | 418 | mutex_deinit( ); |
418 | clean_deinit( ); | 419 | clean_deinit( ); |
419 | } \ No newline at end of file | 420 | } |