summaryrefslogtreecommitdiffstats
path: root/src/uca.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-03-24 15:09:01 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-03-24 15:09:01 +0100
commit922c36f1b6e7fc08abd5fc073c16cc9bad114880 (patch)
tree4d3e0c80ebf976e98c4749e289e328a6ce7204fe /src/uca.h
parentf7801334cc8e261aec976cc146251ddf6d9592fa (diff)
downloaduca-922c36f1b6e7fc08abd5fc073c16cc9bad114880.tar.gz
uca-922c36f1b6e7fc08abd5fc073c16cc9bad114880.tar.bz2
uca-922c36f1b6e7fc08abd5fc073c16cc9bad114880.tar.xz
uca-922c36f1b6e7fc08abd5fc073c16cc9bad114880.zip
Minor cleanups like sharing of uca_set_void and making non-exported functions
static
Diffstat (limited to 'src/uca.h')
-rw-r--r--src/uca.h3
1 files changed, 1 insertions, 2 deletions
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
}