gdbserver defines freeargv, but it is now trivial to just use the one
in libiberty.
2014-06-12 Tom Tromey <tromey@redhat.com>
* utils.c (freeargv): Remove.
+2014-06-12 Tom Tromey <tromey@redhat.com>
+
+ * utils.c (freeargv): Remove.
+
2014-06-12 Tom Tromey <tromey@redhat.com>
* debug.c (debug_printf): Remove HAVE_GETTIMEOFDAY checks.
return ret;
}
-#ifndef IN_PROCESS_AGENT
-
-/* Free a standard argv vector. */
-
-void
-freeargv (char **vector)
-{
- char **scan;
-
- if (vector != NULL)
- {
- for (scan = vector; *scan != NULL; scan++)
- {
- free (*scan);
- }
- free (vector);
- }
-}
-
-#endif
-
/* Print the system error message for errno, and also mention STRING
as the file name for which the error was encountered.
Then return to command level. */