Browse Source

Fixed warnings about newlines at end of file

master
Dirk Engling 14 years ago
parent
commit
c718b15168
  1. 2
      ot_clean.c
  2. 2
      ot_clean.h
  3. 2
      ot_stats.c
  4. 2
      ot_sync.h
  5. 2
      ot_vector.h
  6. 3
      trackerlogic.c

2
ot_clean.c

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

2
ot_clean.h

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

2
ot_stats.c

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

2
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
#endif

2
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
#endif

3
trackerlogic.c

@ -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( );
}
}

Loading…
Cancel
Save