summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
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_ */