summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorvenaas <venaas>2009-01-07 11:39:11 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2009-01-07 11:39:11 +0000
commit772a55eacedd6a21e484d372c6436d9ef5138934 (patch)
treeecd20eac1accc404c4582828df1ce43514e82644 /radsecproxy.c
parent355e140b8839fff12f6636b634402c72124a367e (diff)
renamed struct queue to gqueue due to solaris defining queue
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@452 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 1ec76b9..f1bcee5 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -351,10 +351,10 @@ struct clsrvconf *find_clconf_type(uint8_t type, struct list_node **cur) {
return NULL;
}
-struct queue *newqueue() {
- struct queue *q;
+struct gqueue *newqueue() {
+ struct gqueue *q;
- q = malloc(sizeof(struct queue));
+ q = malloc(sizeof(struct gqueue));
if (!q)
debugx(1, DBG_ERR, "malloc failed");
q->entries = list_create();
@@ -365,7 +365,7 @@ struct queue *newqueue() {
return q;
}
-void removequeue(struct queue *q) {
+void removequeue(struct gqueue *q) {
struct list_node *entry;
if (!q)
@@ -380,7 +380,7 @@ void removequeue(struct queue *q) {
free(q);
}
-void freebios(struct queue *q) {
+void freebios(struct gqueue *q) {
BIO *bio;
pthread_mutex_lock(&q->mutex);