aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index ceb9fd6..54c35c3 100644
--- a/README.md
+++ b/README.md
@@ -13,17 +13,17 @@ Minimal, single-header ring-buffer queue for C.
1. Copy `ls_queue.h` to your project.
2. Define any number of queue types:
```c
- LS_QUEUE_TYPE_INLINE(int, int_queue, 32)
+ LS_QUEUE_INLINE(int, int_queue, 32)
```
**OR** for separate declaration/implementation:
```c
// In header:
- LS_QUEUE_TYPE_DECL(int, int_queue, 32)
+ LS_QUEUE_DECL(int, int_queue, 32)
// In source file:
- LS_QUEUE_TYPE_IMPL(int, int_queue, 32)
+ LS_QUEUE_IMPL(int, int_queue, 32)
```
3. Use the queue with normal C function calls:
```c