diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-09 18:03:38 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-09 18:03:38 +0000 |
commit | 4ef3f3be7ae2203142ecf69debf476b3545c7653 (patch) | |
tree | dcd54051f238a7405266dfe99b3fb25bb404ea5e /gdb/mi/mi-cmd-env.c | |
parent | 754533e434690f9b836c21e5457e2d3e6e1625b1 (diff) | |
download | gdb-4ef3f3be7ae2203142ecf69debf476b3545c7653.zip gdb-4ef3f3be7ae2203142ecf69debf476b3545c7653.tar.gz gdb-4ef3f3be7ae2203142ecf69debf476b3545c7653.tar.bz2 |
2003-01-09 Andrew Cagney <ac131313@redhat.com>
* infrun.c (follow_fork): Use ISO C definition.
* expprint.c (print_subexp): Use xfree instead of free.
* charset.c: Include "gdb_string.h" instead of <string.h>.
(register_iconv_charsets): Use ISO C definition.
(host_charset, target_charset): Ditto.
* Makefile.in (charset.o): Update dependencies.
(mi-cmd-env.o): Update dependencies.
Index: mi/ChangeLog
2003-01-09 Andrew Cagney <ac131313@redhat.com>
* mi-cmd-env.c: Include "gdb_string.h" instead of <string.h>.
Move all includes to after "defs.h".
Diffstat (limited to 'gdb/mi/mi-cmd-env.c')
-rw-r--r-- | gdb/mi/mi-cmd-env.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/mi/mi-cmd-env.c b/gdb/mi/mi-cmd-env.c index 104a73b..a8b4afd 100644 --- a/gdb/mi/mi-cmd-env.c +++ b/gdb/mi/mi-cmd-env.c @@ -19,9 +19,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <string.h> -#include <sys/stat.h> - #include "defs.h" #include "inferior.h" #include "value.h" @@ -35,6 +32,9 @@ #include "ui-out.h" #include "top.h" +#include "gdb_string.h" +#include <sys/stat.h> + static void env_cli_command (const char *cli, char *args); static void env_mod_path (char *dirname, char **which_path); extern void _initialize_mi_cmd_env (void); |