From 922c36f1b6e7fc08abd5fc073c16cc9bad114880 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 24 Mar 2011 15:09:01 +0100 Subject: Minor cleanups like sharing of uca_set_void and making non-exported functions static --- src/uca.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/uca.h') diff --git a/src/uca.h b/src/uca.h index ac28183..4a2919c 100644 --- a/src/uca.h +++ b/src/uca.h @@ -302,8 +302,7 @@ const char* uca_get_property_name(enum uca_property_ids property_id); */ uca_property_t *uca_get_full_property(enum uca_property_ids property_id); - - +#define uca_set_void(p, type, value) { *((type *) p) = (type) value; } #ifdef __cplusplus } -- cgit v1.2.3