diff options
| author | Tyge Løvset <[email protected]> | 2023-05-01 10:00:07 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-05-01 10:02:12 +0200 |
| commit | f916573e2b3652d9b3f6fb82aadd5f2cfb3ce2fe (patch) | |
| tree | 22283c2d74f2cac441ce04b3106e144f440b8137 /misc/examples/new_queue.c | |
| parent | 49e7d9cc0a888b0b19aa4e737d55a2bc33bec824 (diff) | |
| download | STC-modified-f916573e2b3652d9b3f6fb82aadd5f2cfb3ce2fe.tar.gz STC-modified-f916573e2b3652d9b3f6fb82aadd5f2cfb3ce2fe.zip | |
Remove warnings when using -Wextra.
Diffstat (limited to 'misc/examples/new_queue.c')
| -rw-r--r-- | misc/examples/new_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/new_queue.c b/misc/examples/new_queue.c index 916f4dbc..b784bc18 100644 --- a/misc/examples/new_queue.c +++ b/misc/examples/new_queue.c @@ -5,7 +5,7 @@ forward_cqueue(cqueue_pnt, struct Point); -struct Point { int x, y; } typedef Point; +typedef struct Point { int x, y; } Point; int point_cmp(const Point* a, const Point* b) { int c = c_default_cmp(&a->x, &b->x); return c ? c : c_default_cmp(&a->y, &b->y); |
