]> granicus.if.org Git - graphviz/commitdiff
Janitor - fix "warning: function declaration isn't a prototype"
authorellson <devnull@localhost>
Tue, 7 Oct 2008 16:48:20 +0000 (16:48 +0000)
committerellson <devnull@localhost>
Tue, 7 Oct 2008 16:48:20 +0000 (16:48 +0000)
lib/rbtree/stack.h

index 33264aa09627facba1f60b868c028c339a41dae5..e4e61a2feb122b918b036ce068d44b9282bc33b4 100755 (executable)
@@ -36,7 +36,7 @@ typedef struct stk_stack {
 /*  These functions are all very straightforward and self-commenting so */
 /*  I didn't think additional comments would be useful */
 stk_stack * StackJoin(stk_stack * stack1, stk_stack * stack2);
-stk_stack * StackCreate();
+stk_stack * StackCreate(void);
 void StackPush(stk_stack * theStack, DATA_TYPE newInfoPointer);
 void * StackPop(stk_stack * theStack);
 int StackNotEmpty(stk_stack *);