]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
Fixed warnings about newlines at end of file
authorerdgeist <>
Tue, 6 Nov 2007 12:03:11 +0000 (12:03 +0000)
committererdgeist <>
Tue, 6 Nov 2007 12:03:11 +0000 (12:03 +0000)
ot_clean.c
ot_clean.h
ot_stats.c
ot_sync.h
ot_vector.h
trackerlogic.c

index 46b3e0c655e58ef8d07b01287e3b4c42b9602bf0..509dd2e916e0552039b441108735adbe0d72ca20 100644 (file)
@@ -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
+}
index 9c2fe1176230114846f68dc86dbb8ff87c5ceb9d..747b13aeb2abcbec3996c226e9c4d62843c951ef 100644 (file)
@@ -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
index 215d55763ff79c7b6c91a210863f757f66cf3f45..93cbd39f6bd28666a123546dfec67b5898f91ef9 100644 (file)
@@ -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
+}
index cf0fb3d7c96b23625f25eeacfb49fb0590d16103..eb9c002144271f6912f5ad83d1d3683395628ee2 100644 (file)
--- 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
index 88638556c1d8cc9a740cabae4c14d55290fa6a04..c99a8b49915552f5d7cbd45b86110eb560cbf81e 100644 (file)
@@ -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
index c09f1b96de4e49a2addbe6543fec4039c85de7a4..86ab51281bdf9cecbec661d6a5935bf6d09637c9 100644 (file)
@@ -5,6 +5,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
+#include <arpa/inet.h>
 #include <sys/types.h>
 #include <sys/mman.h>
 #include <unistd.h>
@@ -416,4 +417,4 @@ void trackerlogic_deinit( void ) {
   }
   mutex_deinit( );
   clean_deinit( );
-}
\ No newline at end of file
+}