summaryrefslogtreecommitdiffstats
path: root/runtime/list.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-08-31 18:20:11 +0000
committerhunt <hunt>2005-08-31 18:20:11 +0000
commit9a062ac8db299aeea20f189dafa253875889abb8 (patch)
treef8499fc234679553b957a205dcec25c6e3778ed3 /runtime/list.c
parenta4aeaa52b6c3d241cae1db59f274cf6de9fde395 (diff)
downloadsystemtap-steved-9a062ac8db299aeea20f189dafa253875889abb8.tar.gz
systemtap-steved-9a062ac8db299aeea20f189dafa253875889abb8.tar.xz
systemtap-steved-9a062ac8db299aeea20f189dafa253875889abb8.zip
2005-08-31 Martin Hunt <hunt@redhat.com>
* list.c (_stp_copy_argv_from_user): ifdef this function NEED_STRING_VALS.
Diffstat (limited to 'runtime/list.c')
-rw-r--r--runtime/list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/list.c b/runtime/list.c
index c504ed36..ce0141ec 100644
--- a/runtime/list.c
+++ b/runtime/list.c
@@ -125,6 +125,7 @@ inline int _stp_list_size(MAP map)
return map->num;
}
+#ifdef NEED_STRING_VALS
/** Copy an argv from user space to a List.
*
* @param list A list.
@@ -158,6 +159,7 @@ int _stp_copy_argv_from_user (MAP list, char __user *__user *argv)
}
return list->num;
}
+#endif /* NEED_STRING_VALS */
/** @} */
#endif /* _LIST_C_ */