projects
/
model-checker-benchmarks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c19c4c
)
chase-lev-dequeue: fix compiler warning
author
Brian Norris
<banorris@uci.edu>
Tue, 28 May 2013 17:47:32 +0000
(10:47 -0700)
committer
Brian Norris
<banorris@uci.edu>
Tue, 28 May 2013 17:47:32 +0000
(10:47 -0700)
Fix this warning, found when compiling with GCC's C1x support:
main.c: In function ‘task’:
main.c:17:2: warning: implicit declaration of function ‘steal’ [-Wimplicit-function-declaration]
chase-lev-deque/deque.h
patch
|
blob
|
history
diff --git
a/chase-lev-deque/deque.h
b/chase-lev-deque/deque.h
index bc670e7ef1e540d56b2e043fe1b11b48f396b91a..91f4ab09c48306149f616617ad6cfac5657c3fad 100644
(file)
--- a/
chase-lev-deque/deque.h
+++ b/
chase-lev-deque/deque.h
@@
-13,6
+13,7
@@
typedef struct {
Deque * create();
int take(Deque *q);
+int steal(Deque *q);
void resize(Deque *q);
void push(Deque *q, int x);