mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
sim: cris: clean up rvdummy a bit
This fixes a few warnings when compiling the rvdummy tool.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2015-12-25 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
|
* rvdummy.c (_GNU_SOURCE): Delete.
|
||||||
|
(setupsocket): Mark static.
|
||||||
|
|
||||||
2015-12-25 Mike Frysinger <vapier@gentoo.org>
|
2015-12-25 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* Makefile.in (SIM_OBJS): Delete sim-model.o.
|
* Makefile.in (SIM_OBJS): Delete sim-model.o.
|
||||||
|
@ -36,7 +36,6 @@ main (int argc, char *argv[])
|
|||||||
#include "getopt.h"
|
#include "getopt.h"
|
||||||
#include "libiberty.h"
|
#include "libiberty.h"
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
@ -104,7 +103,7 @@ static void handle_input_file (int, char *);
|
|||||||
connection. Return a file descriptor for the connection or -1 on
|
connection. Return a file descriptor for the connection or -1 on
|
||||||
error. */
|
error. */
|
||||||
|
|
||||||
int setupsocket (void)
|
static int setupsocket (void)
|
||||||
{
|
{
|
||||||
int s;
|
int s;
|
||||||
socklen_t len;
|
socklen_t len;
|
||||||
|
Reference in New Issue
Block a user