summaryrefslogtreecommitdiffstats
path: root/runtime
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
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')
-rw-r--r--runtime/ChangeLog5
-rw-r--r--runtime/list.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index bb2e760b..aeb21685 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-31 Martin Hunt <hunt@redhat.com>
+
+ * list.c (_stp_copy_argv_from_user): ifdef this function
+ NEED_STRING_VALS.
+
2005-08-30 Roland McGrath <roland@redhat.com>
* loc2c-runtime.h (fetch_register, store_register): Rewritten to pass
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_ */