summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2013-11-11 19:33:37 +0100
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:24 +0900
commitfa38aaf334ae958a0a4021dc181fd6c3cbf00c24 (patch)
tree5933f6f703e53251aefddae10b789fcfb020c579
parentdebf64a32fa56049944d612a552302d4031eeb49 (diff)
downloadltrace-fa38aaf334ae958a0a4021dc181fd6c3cbf00c24.tar.gz
ltrace-fa38aaf334ae958a0a4021dc181fd6c3cbf00c24.tar.bz2
ltrace-fa38aaf334ae958a0a4021dc181fd6c3cbf00c24.zip
Cleanups
-rw-r--r--TODO3
-rw-r--r--param.c2
-rw-r--r--param.h1
3 files changed, 4 insertions, 2 deletions
diff --git a/TODO b/TODO
index 89f2f9e..4e18e88 100644
--- a/TODO
+++ b/TODO
@@ -129,7 +129,8 @@
This is useful in particular for:
- | ulong mbsrtowcs(+string(array(uint, zero(arg3))), string*, ulong, addr); |
+ | ulong mbsrtowcs(+wstring3_t, string*, ulong, addr); |
+ | ulong wcsrtombs(+string3, wstring_t*, ulong, addr); |
Where we would like to render arg2 on the way in, and arg1 on the
way out.
diff --git a/param.c b/param.c
index a712dad..10bc749 100644
--- a/param.c
+++ b/param.c
@@ -132,6 +132,8 @@ param_destroy(struct param *param)
expr_destroy(&param->u.pack.args[i]);
free(param->u.pack.args);
}
+ return;
+
case PARAM_FLAVOR_STOP:
return;
}
diff --git a/param.h b/param.h
index d6da96b..ce393d6 100644
--- a/param.h
+++ b/param.h
@@ -69,7 +69,6 @@ enum param_status {
* enumerator. */
struct param_enum;
-/* int printf(string, pack(format, arg1)); */
struct param {
enum param_flavor flavor;
union {