diff options
author | hunt <hunt> | 2005-08-31 18:20:11 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-08-31 18:20:11 +0000 |
commit | 9a062ac8db299aeea20f189dafa253875889abb8 (patch) | |
tree | f8499fc234679553b957a205dcec25c6e3778ed3 | |
parent | a4aeaa52b6c3d241cae1db59f274cf6de9fde395 (diff) | |
download | systemtap-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.
-rw-r--r-- | runtime/ChangeLog | 5 | ||||
-rw-r--r-- | runtime/list.c | 2 |
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_ */ |