From: Benjamin Auder Date: Fri, 15 May 2015 07:09:02 +0000 (+0200) Subject: update X-Git-Url: https://git.auder.net/game/%7B%7B%20path%28%27fos_user_profile_show%27%29%20%7D%7D?a=commitdiff_plain;h=bbd242d4033c75c0b48b2c0b6b1fa5c59086954f;p=cgds.git update --- diff --git a/Makefile b/Makefile index 66c4f3a..dcbf36f 100644 --- a/Makefile +++ b/Makefile @@ -5,18 +5,18 @@ LIBRARY = libcgds.so INSTALL_PREFIX = /usr/local src: - cd src && make && cd .. + cd src && $(MAKE) && cd .. test: - cd test && make && cd .. + cd test && $(MAKE) && cd .. doc: - cd doc && make && cd .. + cd doc && $(MAKE) && cd .. clean: - cd src && make clean && cd .. - cd test && make clean && cd .. - cd doc && make clean && cd .. + cd src && $(MAKE) clean && cd .. + cd test && $(MAKE) clean && cd .. + cd doc && $(MAKE) clean && cd .. install: # if [ ! -e src/obj/libcds.so ]; then make src; fi diff --git a/src/Queue.c b/src/Queue.c index 7921f29..47e7dd5 100644 --- a/src/Queue.c +++ b/src/Queue.c @@ -43,7 +43,7 @@ void _queue_push(Queue* queue, void* data) void* _queue_peek(Queue* queue) { - return vector_get(queue->array, 0); + return _vector_get(queue->array, 0); } void queue_pop(Queue* queue)