diff options
-rw-r--r-- | assoc.c | 2 | ||||
-rw-r--r-- | daemon.c | 2 | ||||
-rwxr-xr-x | devtools/clean-whitespace.pl | 1 | ||||
-rw-r--r-- | items.c | 2 | ||||
-rw-r--r-- | memcached.h | 2 | ||||
-rw-r--r-- | slabs.c | 2 |
6 files changed, 6 insertions, 5 deletions
@@ -158,4 +158,4 @@ void assoc_delete(char *key) { /* Note: we never actually get here. the callers don't delete things they can't find. */ assert(*before != 0); -}
\ No newline at end of file +} @@ -60,4 +60,4 @@ daemon(nochdir, noclose) (void)close(fd); } return (0); -}
\ No newline at end of file +} diff --git a/devtools/clean-whitespace.pl b/devtools/clean-whitespace.pl index ace00b5..bbde48e 100755 --- a/devtools/clean-whitespace.pl +++ b/devtools/clean-whitespace.pl @@ -10,6 +10,7 @@ foreach my $f (@files) { my $after = $before; $after =~ s/\t/ /g; $after =~ s/\s+$//mg; + $after .= "\n" unless $after =~ /\n$/; next if $after eq $before; open(my $fh, ">$f") or die; print $fh $after; @@ -267,4 +267,4 @@ char* item_stats_sizes(int *bytes) { *bytes += sprintf(&buf[*bytes], "END\r\n"); free(histogram); return buf; -}
\ No newline at end of file +} diff --git a/memcached.h b/memcached.h index 62498e4..2f57a72 100644 --- a/memcached.h +++ b/memcached.h @@ -225,4 +225,4 @@ void item_update(item *it); /* update LRU time to current and reposition */ int item_replace(item *it, item *new_it); char *item_cachedump(unsigned int slabs_clsid, unsigned int limit, unsigned int *bytes); char *item_stats_sizes(int *bytes); -void item_stats(char *buffer, int buflen);
\ No newline at end of file +void item_stats(char *buffer, int buflen); @@ -280,4 +280,4 @@ int slabs_reassign(unsigned char srcid, unsigned char dstid) { } return 1; } -#endif
\ No newline at end of file +#endif |