summaryrefslogtreecommitdiff
path: root/src/xkbcomp/vmod.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-09-14 00:21:54 +0300
committerRan Benita <ran234@gmail.com>2012-09-14 21:09:48 +0300
commit96c21e1577fa6462efc4d98a6f72a16ba521f6a3 (patch)
tree6ea489d16d5e4a712b8831d2a9b349089c5506c2 /src/xkbcomp/vmod.h
parent7b5a1dd556f2f4d21f7a3265e614cae3a91e36bb (diff)
downloadlibxkbcommon-96c21e1577fa6462efc4d98a6f72a16ba521f6a3.tar.gz
libxkbcommon-96c21e1577fa6462efc4d98a6f72a16ba521f6a3.tar.bz2
libxkbcommon-96c21e1577fa6462efc4d98a6f72a16ba521f6a3.zip
Clean up Init/Clear functions
- The Clear* functions should just free the memory associated with the object. If the object is used again, it is Init'd again. - s/Free/Clear if the actual pointer is not free'd. - Zeroise object in Init and only initialize non-zero fields. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/vmod.h')
-rw-r--r--src/xkbcomp/vmod.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/xkbcomp/vmod.h b/src/xkbcomp/vmod.h
index a711b9b..96b330d 100644
--- a/src/xkbcomp/vmod.h
+++ b/src/xkbcomp/vmod.h
@@ -35,9 +35,6 @@ typedef struct _VModInfo {
void
InitVModInfo(VModInfo *info, struct xkb_keymap *keymap);
-void
-ClearVModInfo(VModInfo *info);
-
bool
HandleVModDef(VModDef *stmt, struct xkb_keymap *keymap,
enum merge_mode mergeMode, VModInfo *info);