diff PriorityQueue.h @ 3:500d0e2fabfb

made pure C and added .brch__defaul and eol handling
author Me@portablequad
date Sat, 11 Feb 2012 20:27:13 -0800
parents 9ecc993a29ea
children
line diff
     1.1 --- a/PriorityQueue.h	Thu Feb 09 15:55:54 2012 +0100
     1.2 +++ b/PriorityQueue.h	Sat Feb 11 20:27:13 2012 -0800
     1.3 @@ -10,6 +10,10 @@
     1.4  
     1.5  #include <stdbool.h>
     1.6  
     1.7 +#include <limits.h>
     1.8 +#include <stdio.h>
     1.9 +#include <string.h>
    1.10 +
    1.11  typedef struct _PrioQueueStruc PrioQueueStruc;
    1.12  typedef struct _heapNode heapNode;
    1.13  
    1.14 @@ -25,7 +29,7 @@
    1.15  	heapNode *data;
    1.16  };
    1.17  
    1.18 -PrioQueueStruc* makeVMSPrioQ();
    1.19 +PrioQueueStruc* makePrioQ();
    1.20  void* getFirstPrioQ (PrioQueueStruc *Q);
    1.21  void* popPrioQ (PrioQueueStruc *Q);
    1.22  bool insertPrioQ (void *val, int key, PrioQueueStruc *Q);