utils: Remove volatile qualifier from refcount_t typedef

It's not really required anymore (if it ever was) and may cause compiler
warnings when using the non atomic versions of ref_get/ref_put.
This commit is contained in:
Tobias Brunner
2013-06-19 09:28:30 +02:00
parent 24303f99f7
commit 4d04e2c63b
+1 -2
View File
@@ -656,8 +656,7 @@ static inline u_int64_t untoh64(void *network)
/**
* Special type to count references
*/
typedef volatile u_int refcount_t;
typedef u_int refcount_t;
#ifdef HAVE_GCC_ATOMIC_OPERATIONS