# HG changeset patch # User Me@portablequad # Date 1329020974 28800 # Node ID 7254bef12749e1d9bccf5dffc80c2653e40020c3 # Parent b0195491f167e8f41e995dd1eb9d5ce103799249 removed "VMS" from function names -- names compatible with pure C version diff -r b0195491f167 -r 7254bef12749 PriorityQueue.c --- a/PriorityQueue.c Sat Feb 11 20:21:45 2012 -0800 +++ b/PriorityQueue.c Sat Feb 11 20:29:34 2012 -0800 @@ -79,7 +79,7 @@ } -PrioQueueStruc* makeVMSPrioQ () { +PrioQueueStruc* makePrioQ () { PrioQueueStruc *retQ; retQ= VMS__malloc(sizeof(PrioQueueStruc)); retQ->maxSize= 1024; diff -r b0195491f167 -r 7254bef12749 PriorityQueue.h --- a/PriorityQueue.h Sat Feb 11 20:21:45 2012 -0800 +++ b/PriorityQueue.h Sat Feb 11 20:29:34 2012 -0800 @@ -27,7 +27,7 @@ heapNode *data; }; -PrioQueueStruc* makeVMSPrioQ(); +PrioQueueStruc* makePrioQ(); void* getFirstPrioQ (PrioQueueStruc *Q); void* popPrioQ (PrioQueueStruc *Q); bool insertPrioQ (void *val, int key, PrioQueueStruc *Q); diff -r b0195491f167 -r 7254bef12749 TestPriorityQueue.c --- a/TestPriorityQueue.c Sat Feb 11 20:21:45 2012 -0800 +++ b/TestPriorityQueue.c Sat Feb 11 20:29:34 2012 -0800 @@ -14,7 +14,7 @@ static char *first,*second,*third; int init_suite (void) { - if (NULL == (Q= makeVMSPrioQ())) return -1; + if (NULL == (Q= makePrioQ())) return -1; else return 0; }