From bbbaa0e09d21b1f224acb1dc21b10192af086b46 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Tue, 6 Nov 2007 12:03:11 +0000 Subject: Fixed warnings about newlines at end of file --- ot_clean.c | 2 +- ot_clean.h | 2 +- ot_stats.c | 2 +- ot_sync.h | 2 +- ot_vector.h | 2 +- trackerlogic.c | 3 ++- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ot_clean.c b/ot_clean.c index 46b3e0c..509dd2e 100644 --- a/ot_clean.c +++ b/ot_clean.c @@ -116,4 +116,4 @@ void clean_init( void ) { void clean_deinit( void ) { byte_zero( all_torrents_clean, sizeof( all_torrents_clean ) ); -} \ No newline at end of file +} diff --git a/ot_clean.h b/ot_clean.h index 9c2fe11..747b13a 100644 --- a/ot_clean.h +++ b/ot_clean.h @@ -12,4 +12,4 @@ void clean_deinit( void ); void clean_all_torrents( void ); int clean_single_torrent( ot_torrent *torrent ); -#endif \ No newline at end of file +#endif diff --git a/ot_stats.c b/ot_stats.c index 215d557..93cbd39 100644 --- a/ot_stats.c +++ b/ot_stats.c @@ -198,4 +198,4 @@ size_t return_memstat_for_tracker( char **reply ) { fix_mmapallocation( *reply, allocated, replysize ); return replysize; -} \ No newline at end of file +} diff --git a/ot_sync.h b/ot_sync.h index cf0fb3d..eb9c002 100644 --- a/ot_sync.h +++ b/ot_sync.h @@ -11,4 +11,4 @@ size_t return_changeset_for_tracker( char **reply ); int add_changeset_to_tracker( ot_byte *data, size_t len ); #endif -#endif \ No newline at end of file +#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 int vector_remove_peer( ot_vector *vector, ot_peer *peer, int hysteresis ); void vector_remove_torrent( ot_vector *vector, ot_torrent *match ); -#endif \ No newline at end of file +#endif diff --git a/trackerlogic.c b/trackerlogic.c index c09f1b9..86ab512 100644 --- a/trackerlogic.c +++ b/trackerlogic.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include @@ -416,4 +417,4 @@ void trackerlogic_deinit( void ) { } mutex_deinit( ); clean_deinit( ); -} \ No newline at end of file +} -- cgit v1.2.3