diff options
author | Christian Cunningham <cc@localhost> | 2022-01-05 14:01:29 -0800 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-05 14:01:29 -0800 |
commit | 3a8ed19bf83f11ff00c4904fab2cc083b7e33478 (patch) | |
tree | 9d9a6f92f9d74001e969d23ea79ad26f6227fea2 /src/lib/q.h | |
parent | f3ea4cd0c22f351d8dfffb0e937194c4b526b665 (diff) |
Cleaned up/ Standardized
Diffstat (limited to 'src/lib/q.h')
-rw-r--r-- | src/lib/q.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/q.h b/src/lib/q.h index 51ff1a1..cf75c6d 100644 --- a/src/lib/q.h +++ b/src/lib/q.h @@ -11,11 +11,11 @@ struct Q { void* data; }; -struct Q_base* newq(); -void pushq(struct Q_base* qb, void* val); -void popq(struct Q_base* qb); +struct Q_base* new_q(); +void push_q(struct Q_base* qb, void* val); +void pop_q(struct Q_base* qb); -#define showq(QQ, TYPE) { \ +#define show_q(QQ, TYPE) { \ if (QQ->next != 0) { \ struct Q* t = QQ->next; \ while (t->next != 0) { \ |