diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-07-09 20:20:46 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-07-11 16:43:53 +0200 |
commit | 1ca5fd003f5d3ffb32db581cb8d82d0721b5b12d (patch) | |
tree | 242fae381ff22bbd8c72fdfcea6b09d3e0d80317 /src/test/test-ring.c | |
parent | 7df23077e45e55a6fc15eb99fe2ae439678e37e0 (diff) |
shared: fix coding-style for ring-buffer implementation
We use "typedef struct Ring Ring" with camel-case for internal objects.
So rename "struct ring" to "Ring".
Diffstat (limited to 'src/test/test-ring.c')
-rw-r--r-- | src/test/test-ring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-ring.c b/src/test/test-ring.c index 880815811c..5e4efdbde9 100644 --- a/src/test/test-ring.c +++ b/src/test/test-ring.c @@ -31,7 +31,7 @@ static void test_ring(void) { static const char buf[8192]; - struct ring r; + Ring r; size_t l; struct iovec vec[2]; int s; |