X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fm68hc11%2Fdv-m68hc11spi.c;h=dafc67752e7a8d15cf0704d7eb85dbc93c94786b;hb=2106ed9baf1098a5d76469ecde30813065c46c68;hp=b578fbd2304821b9467f48a9ef918a61e4b9c1e4;hpb=4744ac1bb0d2f2294c7762577262fdcafb67883b;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/m68hc11/dv-m68hc11spi.c b/sim/m68hc11/dv-m68hc11spi.c index b578fbd230..dafc67752e 100644 --- a/sim/m68hc11/dv-m68hc11spi.c +++ b/sim/m68hc11/dv-m68hc11spi.c @@ -1,5 +1,5 @@ /* dv-m68hc11spi.c -- Simulation of the 68HC11 SPI - Copyright (C) 2000, 2002, 2003, 2007 Free Software Foundation, Inc. + Copyright (C) 2000-2020 Free Software Foundation, Inc. Written by Stephane Carrez (stcarrez@nerim.fr) (From a driver model Contributed by Cygnus Solutions.) @@ -156,7 +156,7 @@ m68hc11spi_port_event (struct hw *me, { SIM_DESC sd; struct m68hc11spi *controller; - sim_cpu* cpu; + sim_cpu *cpu; unsigned8 val; controller = hw_data (me); @@ -234,7 +234,7 @@ set_bit_port (struct hw *me, sim_cpu *cpu, int port, int mask, int value) #define SPI_START_BIT 1 #define SPI_MIDDLE_BIT 2 -void +static void m68hc11spi_clock (struct hw *me, void *data) { SIM_DESC sd;