Index: gdb/gnulib/import/mbsrtowcs.c |
diff --git a/sim/rl78/load.h b/gdb/gnulib/import/mbsrtowcs.c |
similarity index 61% |
copy from sim/rl78/load.h |
copy to gdb/gnulib/import/mbsrtowcs.c |
index daf735ea3c6a5145a624b7cbd01ef04986935ef7..e3ec8767c33a7280b4a641b15a22873f40b27548 100644 |
--- a/sim/rl78/load.h |
+++ b/gdb/gnulib/import/mbsrtowcs.c |
@@ -1,11 +1,8 @@ |
-/* load.h --- interface to loading object files into the RX simulator. |
- |
+/* Convert string to wide string. |
Copyright (C) 2008-2012 Free Software Foundation, Inc. |
- Contributed by Red Hat, Inc. |
- |
- This file is part of the GNU simulators. |
+ Written by Bruno Haible <bruno@clisp.org>, 2008. |
- This program is free software; you can redistribute it and/or modify |
+ This program is free software: you can redistribute it and/or modify |
it under the terms of the GNU General Public License as published by |
the Free Software Foundation; either version 3 of the License, or |
(at your option) any later version. |
@@ -16,15 +13,20 @@ |
GNU General Public License for more details. |
You should have received a copy of the GNU General Public License |
- along with this program. If not, see <http://www.gnu.org/licenses/>. |
-*/ |
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
+ |
+#include <config.h> |
+ |
+/* Specification. */ |
+#include <wchar.h> |
+ |
+#include <errno.h> |
+#include <limits.h> |
+#include <stdlib.h> |
-#ifndef SIM_RL78_LOAD_H_ |
-#define SIM_RL78_LOAD_H_ |
+#include "strnlen1.h" |
-#include "bfd.h" |
-#include "gdb/callback.h" |
-void rl78_load (bfd *, host_callback *callbacks, const char * const simname); |
+extern mbstate_t _gl_mbsrtowcs_state; |
-#endif |
+#include "mbsrtowcs-impl.h" |