]> sourceware.org Git - systemtap.git/commitdiff
2005-08-31 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Wed, 31 Aug 2005 18:20:11 +0000 (18:20 +0000)
committerhunt <hunt>
Wed, 31 Aug 2005 18:20:11 +0000 (18:20 +0000)
* list.c (_stp_copy_argv_from_user): ifdef this function
NEED_STRING_VALS.

runtime/ChangeLog
runtime/list.c

index bb2e760b6746320375fc8bbe71bb665c2c16ac35..aeb21685e83e096fb9625f098f33b65576e6549c 100644 (file)
@@ -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
index c504ed3679d94debcb2c7e7ec80ff0ec7e5597cb..ce0141ec0f43321233133c6f503ed2e64f80a3f4 100644 (file)
@@ -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_ */
This page took 0.028319 seconds and 5 git commands to generate.