Fixed warnings about newlines at end of file

dynamic-accesslists
erdgeist 17 years ago
parent 8900cc0dd9
commit bbbaa0e09d

@ -116,4 +116,4 @@ void clean_init( void ) {
void clean_deinit( void ) { void clean_deinit( void ) {
byte_zero( all_torrents_clean, sizeof( all_torrents_clean ) ); byte_zero( all_torrents_clean, sizeof( all_torrents_clean ) );
} }

@ -12,4 +12,4 @@ void clean_deinit( void );
void clean_all_torrents( void ); void clean_all_torrents( void );
int clean_single_torrent( ot_torrent *torrent ); int clean_single_torrent( ot_torrent *torrent );
#endif #endif

@ -198,4 +198,4 @@ size_t return_memstat_for_tracker( char **reply ) {
fix_mmapallocation( *reply, allocated, replysize ); fix_mmapallocation( *reply, allocated, replysize );
return replysize; return replysize;
} }

@ -11,4 +11,4 @@ size_t return_changeset_for_tracker( char **reply );
int add_changeset_to_tracker( ot_byte *data, size_t len ); int add_changeset_to_tracker( ot_byte *data, size_t len );
#endif #endif
#endif #endif

@ -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 ); int vector_remove_peer( ot_vector *vector, ot_peer *peer, int hysteresis );
void vector_remove_torrent( ot_vector *vector, ot_torrent *match ); void vector_remove_torrent( ot_vector *vector, ot_torrent *match );
#endif #endif

@ -5,6 +5,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include <arpa/inet.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <unistd.h> #include <unistd.h>
@ -416,4 +417,4 @@ void trackerlogic_deinit( void ) {
} }
mutex_deinit( ); mutex_deinit( );
clean_deinit( ); clean_deinit( );
} }

Loading…
Cancel
Save