C++-fy and prepare for sharing fork_inferior
[deliverable/binutils-gdb.git] / gdb / common / common-utils.h
index 618d2663fab881aa8636318f855fad1fd84ef304..c331f0d62ff4419cb3fcf4da23a028536264be4f 100644 (file)
@@ -21,6 +21,7 @@
 #define COMMON_UTILS_H
 
 #include <string>
+#include <vector>
 
 /* If possible, define FUNCTION_NAME, a macro containing the name of
    the function being defined.  Since this macro may not always be
@@ -103,4 +104,8 @@ extern const char *skip_spaces_const (const char *inp);
 
 extern const char *skip_to_space_const (const char *inp);
 
+/* Assumes that V is an argv for a program, and iterates through
+   freeing all the elements.  */
+extern void free_vector_argv (std::vector<char *> &v);
+
 #endif
This page took 0.024788 seconds and 4 git commands to generate.