diff options
| author | Thomas Schmucker <ts@its1.de> | 2022-01-16 10:42:12 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2022-01-16 10:42:12 +0100 |
| commit | 85d7942c1c5c1b92add8a4dc70279e91b6f9cdaf (patch) | |
| tree | f9784621dbd6dcfd9faa8ca3194dfac826d8aa2a /ringbuff.c | |
| parent | 2a32335f1ff91e96fd6a09819317f77d6b8bf285 (diff) | |
| parent | fb0e8a6fa561cd2a518b6a65f50e8179a19985cc (diff) | |
| download | data-structures-85d7942c1c5c1b92add8a4dc70279e91b6f9cdaf.tar.gz data-structures-85d7942c1c5c1b92add8a4dc70279e91b6f9cdaf.tar.bz2 data-structures-85d7942c1c5c1b92add8a4dc70279e91b6f9cdaf.zip | |
Merge branch 'cleanup/remove-sizeof'
Diffstat (limited to 'ringbuff.c')
| -rw-r--r-- | ringbuff.c | 6 |
1 files changed, 0 insertions, 6 deletions
| @@ -107,12 +107,6 @@ ring_get(struct ring_buffer *rb, T *data) | |||
| 107 | /* -->8-- */ | 107 | /* -->8-- */ |
| 108 | 108 | ||
| 109 | void | 109 | void |
| 110 | f() | ||
| 111 | { | ||
| 112 | ERROR(""); | ||
| 113 | } | ||
| 114 | |||
| 115 | void | ||
| 116 | debug_print(const char *msg, struct ring_buffer *rb) | 110 | debug_print(const char *msg, struct ring_buffer *rb) |
| 117 | { | 111 | { |
| 118 | printf("%s: head: %zu, tail: %zu\n", msg, rb->head, rb->tail); | 112 | printf("%s: head: %zu, tail: %zu\n", msg, rb->head, rb->tail); |
