sim: include stdlib.h for atoi()
Make sure the files using atoi() include stdlib.h for its prototype. These files were relying on it being included implicitly by others which isn't guaranteed, and newer toolchains produce warnings.
This commit is contained in:
parent
9416af6e7d
commit
3d52735bab
@ -1,3 +1,7 @@
|
||||
2021-01-04 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* wrapper.c: Include stdlib.h.
|
||||
|
||||
2021-01-04 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* iwmmxt.c: Include stdlib.h.
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "config.h"
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <bfd.h>
|
||||
#include <signal.h>
|
||||
|
@ -1,3 +1,7 @@
|
||||
2021-01-04 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* machs.c: Include stdlib.h.
|
||||
|
||||
2021-01-04 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* dv-bfin_dma.c: Include stdlib.h.
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "sim-main.h"
|
||||
#include "gdb/sim-bfin.h"
|
||||
#include "bfd.h"
|
||||
|
@ -1,3 +1,7 @@
|
||||
2021-01-04 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* gen-icache.c, igen.c: Include stdlib.h.
|
||||
|
||||
2021-01-04 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
@ -19,6 +19,7 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "misc.h"
|
||||
#include "lf.h"
|
||||
|
@ -19,9 +19,8 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
|
||||
|
||||
#include <getopt.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "misc.h"
|
||||
#include "lf.h"
|
||||
|
@ -1,3 +1,7 @@
|
||||
2021-01-04 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* gen-icache.c, igen.c: Include stdlib.h.
|
||||
|
||||
2021-01-04 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* acinclude.m4 (ACX_BUGURL): Change http:// to https://.
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "misc.h"
|
||||
#include "lf.h"
|
||||
|
@ -17,9 +17,8 @@
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include <getopt.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "misc.h"
|
||||
#include "lf.h"
|
||||
|
Loading…
Reference in New Issue
Block a user