Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > PriorityQueue
changeset 4:7254bef12749 MC_shared
removed "VMS" from function names -- names compatible with pure C version
| author | Me@portablequad |
|---|---|
| date | Sat, 11 Feb 2012 20:29:34 -0800 |
| parents | b0195491f167 |
| children | 09e51191078a |
| files | PriorityQueue.c PriorityQueue.h TestPriorityQueue.c |
| diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/PriorityQueue.c Sat Feb 11 20:21:45 2012 -0800 1.2 +++ b/PriorityQueue.c Sat Feb 11 20:29:34 2012 -0800 1.3 @@ -79,7 +79,7 @@ 1.4 } 1.5 1.6 1.7 -PrioQueueStruc* makeVMSPrioQ () { 1.8 +PrioQueueStruc* makePrioQ () { 1.9 PrioQueueStruc *retQ; 1.10 retQ= VMS__malloc(sizeof(PrioQueueStruc)); 1.11 retQ->maxSize= 1024;
2.1 --- a/PriorityQueue.h Sat Feb 11 20:21:45 2012 -0800 2.2 +++ b/PriorityQueue.h Sat Feb 11 20:29:34 2012 -0800 2.3 @@ -27,7 +27,7 @@ 2.4 heapNode *data; 2.5 }; 2.6 2.7 -PrioQueueStruc* makeVMSPrioQ(); 2.8 +PrioQueueStruc* makePrioQ(); 2.9 void* getFirstPrioQ (PrioQueueStruc *Q); 2.10 void* popPrioQ (PrioQueueStruc *Q); 2.11 bool insertPrioQ (void *val, int key, PrioQueueStruc *Q);
3.1 --- a/TestPriorityQueue.c Sat Feb 11 20:21:45 2012 -0800 3.2 +++ b/TestPriorityQueue.c Sat Feb 11 20:29:34 2012 -0800 3.3 @@ -14,7 +14,7 @@ 3.4 static char *first,*second,*third; 3.5 3.6 int init_suite (void) { 3.7 - if (NULL == (Q= makeVMSPrioQ())) return -1; 3.8 + if (NULL == (Q= makePrioQ())) return -1; 3.9 else return 0; 3.10 } 3.11
