Skip to content

Commit 1d6198c

Browse files
author
blueswir1
committed
Remove unnecessary trailing newlines
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6000 c046a42c-6fe2-441c-8c8c-71466251a162
1 parent 8d32699 commit 1d6198c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+0
-103
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,3 @@ qemu-nbd.8
2828
*.tp
2929
*.vr
3030
*.d
31-

a.out.h

-1
Original file line numberDiff line numberDiff line change
@@ -428,4 +428,3 @@ typedef struct
428428
#endif
429429

430430
#endif /* _A_OUT_H_ */
431-

block-cloop.c

-2
Original file line numberDiff line numberDiff line change
@@ -165,5 +165,3 @@ BlockDriver bdrv_cloop = {
165165
NULL,
166166
cloop_close,
167167
};
168-
169-

block-dmg.c

-1
Original file line numberDiff line numberDiff line change
@@ -294,4 +294,3 @@ BlockDriver bdrv_dmg = {
294294
NULL,
295295
dmg_close,
296296
};
297-

block-vvfat.c

-1
Original file line numberDiff line numberDiff line change
@@ -2848,4 +2848,3 @@ static void checkpoint(void) {
28482848
print_direntry(NULL);
28492849
}
28502850
#endif
2851-

buffered_file.c

-1
Original file line numberDiff line numberDiff line change
@@ -247,4 +247,3 @@ QEMUFile *qemu_fopen_ops_buffered(void *opaque,
247247

248248
return s->file;
249249
}
250-

darwin-user/mmap.c

-1
Original file line numberDiff line numberDiff line change
@@ -408,4 +408,3 @@ int target_msync(unsigned long start, unsigned long len, int flags)
408408
start &= qemu_host_page_mask;
409409
return msync((void *)start, end - start, flags);
410410
}
411-

darwin-user/signal.c

-2
Original file line numberDiff line numberDiff line change
@@ -455,5 +455,3 @@ void process_pending_signals(void *cpu_env)
455455
if (q != &k->info)
456456
free_sigqueue(q);
457457
}
458-
459-

def-helper.h

-1
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,3 @@ DEF_HELPER_FLAGS_0(name, flags, ret)
218218
#undef GEN_HELPER
219219

220220
#endif
221-

fpu/softfloat-macros.h

-1
Original file line numberDiff line numberDiff line change
@@ -717,4 +717,3 @@ INLINE flag ne128( bits64 a0, bits64 a1, bits64 b0, bits64 b1 )
717717
return ( a0 != b0 ) || ( a1 != b1 );
718718

719719
}
720-

gen-icount.h

-1
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,3 @@ static inline void gen_io_end(void)
5353
tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUState, can_do_io));
5454
tcg_temp_free_i32(tmp);
5555
}
56-

hw/apb_pci.c

-2
Original file line numberDiff line numberDiff line change
@@ -261,5 +261,3 @@ PCIBus *pci_apb_init(target_phys_addr_t special_base,
261261
"Advanced PCI Bus secondary bridge 2");
262262
return secondary;
263263
}
264-
265-

hw/arm-misc.h

-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,3 @@ qemu_irq *armv7m_nvic_init(CPUState *env);
4444
void stellaris_enet_init(NICInfo *nd, uint32_t base, qemu_irq irq);
4545

4646
#endif /* !ARM_MISC_H */
47-

hw/arm_sysctl.c

-1
Original file line numberDiff line numberDiff line change
@@ -205,4 +205,3 @@ void arm_sysctl_init(uint32_t base, uint32_t sys_id)
205205
cpu_register_physical_memory(base, 0x00001000, iomemtype);
206206
/* ??? Save/restore. */
207207
}
208-

hw/arm_timer.c

-1
Original file line numberDiff line numberDiff line change
@@ -340,4 +340,3 @@ void icp_pit_init(uint32_t base, qemu_irq *pic, int irq)
340340
/* This device has no state to save/restore. The component timers will
341341
save themselves. */
342342
}
343-

hw/armv7m.c

-1
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,3 @@ qemu_irq *armv7m_init(int flash_size, int sram_size,
207207

208208
return pic;
209209
}
210-

hw/cdrom.c

-2
Original file line numberDiff line numberDiff line change
@@ -153,5 +153,3 @@ int cdrom_read_toc_raw(int nb_sectors, uint8_t *buf, int msf, int session_num)
153153
cpu_to_be16wu((uint16_t *)buf, len - 2);
154154
return len;
155155
}
156-
157-

hw/grackle_pci.c

-1
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,3 @@ PCIBus *pci_grackle_init(uint32_t base, qemu_irq *pic)
146146
#endif
147147
return s->bus;
148148
}
149-

hw/lsi53c895a.c

-1
Original file line numberDiff line numberDiff line change
@@ -2005,4 +2005,3 @@ void *lsi_scsi_init(PCIBus *bus, int devfn)
20052005

20062006
return s;
20072007
}
2008-

hw/mac_dbdma.c

-1
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,3 @@ void dbdma_init (int *dbdma_mem_index)
7676
{
7777
*dbdma_mem_index = cpu_register_io_memory(0, dbdma_read, dbdma_write, NULL);
7878
}
79-

hw/mcf5206.c

-1
Original file line numberDiff line numberDiff line change
@@ -540,4 +540,3 @@ qemu_irq *mcf5206_init(uint32_t base, CPUState *env)
540540
m5206_mbar_reset(s);
541541
return pic;
542542
}
543-

hw/pci_host.h

-1
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,3 @@ static uint32_t pci_host_data_readl(void* opaque, pci_addr_t addr)
9090
#endif
9191
return val;
9292
}
93-

hw/pcmcia.h

-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,3 @@ struct pcmcia_card_s {
4747

4848
/* dscm1xxxx.c */
4949
struct pcmcia_card_s *dscm1xxxx_init(BlockDriverState *bdrv);
50-

hw/pl011.c

-1
Original file line numberDiff line numberDiff line change
@@ -309,4 +309,3 @@ void pl011_init(uint32_t base, qemu_irq irq,
309309
}
310310
register_savevm("pl011_uart", -1, 1, pl011_save, pl011_load, s);
311311
}
312-

hw/pl022.c

-2
Original file line numberDiff line numberDiff line change
@@ -306,5 +306,3 @@ void pl022_init(uint32_t base, qemu_irq irq, int (*xfer_cb)(void *, int),
306306
pl022_reset(s);
307307
register_savevm("pl022_ssp", -1, 1, pl022_save, pl022_load, s);
308308
}
309-
310-

hw/pl050.c

-1
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,3 @@ void pl050_init(uint32_t base, qemu_irq irq, int is_mouse)
139139
s->dev = ps2_kbd_init(pl050_update, s);
140140
/* ??? Save/restore. */
141141
}
142-

hw/pl061.c

-1
Original file line numberDiff line numberDiff line change
@@ -311,4 +311,3 @@ qemu_irq *pl061_init(uint32_t base, qemu_irq irq, qemu_irq **out)
311311
register_savevm("pl061_gpio", -1, 1, pl061_save, pl061_load, s);
312312
return qemu_allocate_irqs(pl061_set_irq, s, 8);
313313
}
314-

hw/pl080.c

-1
Original file line numberDiff line numberDiff line change
@@ -336,4 +336,3 @@ void *pl080_init(uint32_t base, qemu_irq irq, int nchannels)
336336
/* ??? Save/restore. */
337337
return s;
338338
}
339-

hw/prep_pci.c

-1
Original file line numberDiff line numberDiff line change
@@ -169,4 +169,3 @@ PCIBus *pci_prep_init(qemu_irq *pic)
169169

170170
return s->bus;
171171
}
172-

hw/ps2.h

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ uint32_t ps2_read_data(void *);
77
void ps2_queue(void *, int b);
88
void ps2_keyboard_set_translation(void *opaque, int mode);
99
void ps2_mouse_fake_event(void *opaque);
10-

hw/ptimer.c

-1
Original file line numberDiff line numberDiff line change
@@ -192,4 +192,3 @@ ptimer_state *ptimer_init(QEMUBH *bh)
192192
s->timer = qemu_new_timer(vm_clock, ptimer_tick, s);
193193
return s;
194194
}
195-

hw/rtl8139.c

-1
Original file line numberDiff line numberDiff line change
@@ -3463,4 +3463,3 @@ void pci_rtl8139_init(PCIBus *bus, NICInfo *nd, int devfn)
34633463
rtl8139_get_next_tctr_time(s,qemu_get_clock(vm_clock)));
34643464
#endif /* RTL8139_ONBOARD_TIMER */
34653465
}
3466-

hw/sh7750.c

-1
Original file line numberDiff line numberDiff line change
@@ -778,4 +778,3 @@ qemu_irq sh7750_irl(SH7750State *s)
778778
return qemu_allocate_irqs(sh_intc_set_irl, sh_intc_source(&s->intc, IRL),
779779
1)[0];
780780
}
781-

hw/sh_pci.c

-1
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,3 @@ PCIBus *sh_pci_register_bus(pci_set_irq_fn set_irq, pci_map_irq_fn map_irq,
202202

203203
return p->bus;
204204
}
205-

hw/slavio_intctl.c

-1
Original file line numberDiff line numberDiff line change
@@ -421,4 +421,3 @@ void *slavio_intctl_init(target_phys_addr_t addr, target_phys_addr_t addrg,
421421
slavio_intctl_reset(s);
422422
return s;
423423
}
424-

hw/sm501_template.h

-1
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,3 @@ static void glue(draw_line32_, PIXEL_NAME)(
101101
#undef PIXEL_TYPE
102102
#undef PIXEL_NAME
103103
#undef BGR_FORMAT
104-

hw/smbus.h

-1
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,3 @@ void smbus_write_block(i2c_bus *bus, int addr, uint8_t command, uint8_t *data,
6767

6868
/* smbus_eeprom.c */
6969
void smbus_eeprom_device_init(i2c_bus *bus, uint8_t addr, uint8_t *buf);
70-

hw/ssi-sd.c

-1
Original file line numberDiff line numberDiff line change
@@ -237,4 +237,3 @@ void *ssi_sd_init(BlockDriverState *bs)
237237
register_savevm("ssi_sd", -1, 1, ssi_sd_save, ssi_sd_load, s);
238238
return s;
239239
}
240-

hw/stellaris_input.c

-2
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,3 @@ void stellaris_gamepad_init(int n, qemu_irq *irq, const int *keycode)
8989
register_savevm("stellaris_gamepad", -1, 1,
9090
stellaris_gamepad_save, stellaris_gamepad_load, s);
9191
}
92-
93-

hw/sun4c_intctl.c

-1
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,3 @@ void *sun4c_intctl_init(target_phys_addr_t addr, qemu_irq **irq,
221221
sun4c_intctl_reset(s);
222222
return s;
223223
}
224-

hw/sun4m.c

-1
Original file line numberDiff line numberDiff line change
@@ -1646,4 +1646,3 @@ QEMUMachine ss2_machine = {
16461646
.nodisk_ok = 1,
16471647
.use_scsi = 1,
16481648
};
1649-

hw/tc6393xb_template.h

-1
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,3 @@ static void glue(tc6393xb_draw_graphic, BITS)(struct tc6393xb_s *s)
6969

7070
#undef BITS
7171
#undef SET_PIXEL
72-

hw/unin_pci.c

-1
Original file line numberDiff line numberDiff line change
@@ -268,4 +268,3 @@ PCIBus *pci_pmac_init(qemu_irq *pic)
268268
#endif
269269
return s->bus;
270270
}
271-

hw/versatile_pci.c

-1
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,3 @@ PCIBus *pci_vpb_init(qemu_irq *pic, int irq, int realview)
141141

142142
return s;
143143
}
144-

hw/vmmouse.c

-1
Original file line numberDiff line numberDiff line change
@@ -288,4 +288,3 @@ void *vmmouse_init(void *m)
288288

289289
return s;
290290
}
291-

keymaps/et

-1
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,3 @@ period 0x34
8383
colon 0x34 shift
8484
minus 0x35
8585
underscore 0x35 shift
86-

keymaps/fo

-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,3 @@ period 0x34
7474
colon 0x34 shift
7575
minus 0x35
7676
underscore 0x35 shift
77-

keymaps/is

-1
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,3 @@ thorn 0x35
137137
THORN 0x35 shift
138138
dead_belowdot 0x35 altgr
139139
dead_abovedot 0x35 shift altgr
140-

keymaps/nl

-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,3 @@ equal 0x35 shift
5757
bracketright 0x56
5858
bracketleft 0x56 shift
5959
brokenbar 0x56 altgr
60-

keymaps/sv

-1
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,3 @@ period 0x34
7979
colon 0x34 shift
8080
minus 0x35
8181
underscore 0x35 shift
82-

linux-user/alpha/termbits.h

-1
Original file line numberDiff line numberDiff line change
@@ -262,4 +262,3 @@ struct target_termios {
262262
#define TARGET_TIOCGICOUNT 0x545D /* read serial port inline interrupt counts */
263263
#define TARGET_TIOCGHAYESESP 0x545E /* Get Hayes ESP configuration */
264264
#define TARGET_TIOCSHAYESESP 0x545F /* Set Hayes ESP configuration */
265-

linux-user/arm/nwfpe/fpa11.c

-1
Original file line numberDiff line numberDiff line change
@@ -241,4 +241,3 @@ unsigned int EmulateAll1(unsigned int opcode)
241241
}
242242
}
243243
#endif
244-

linux-user/arm/termbits.h

-1
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,3 @@ struct target_termios {
214214
#define TARGET_TIOCPKT_DOSTOP 32
215215

216216
#define TARGET_TIOCSER_TEMT 0x01 /* Transmitter physically empty */
217-

linux-user/cris/syscall.h

-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ struct target_pt_regs {
3434
unsigned long exs;
3535
unsigned long eda;
3636
};
37-

linux-user/cris/termbits.h

-1
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,3 @@ struct target_termios {
211211
#define TARGET_TIOCPKT_DOSTOP 32
212212

213213
#define TARGET_TIOCSER_TEMT 0x01 /* Transmitter physically empty */
214-

linux-user/errno_defs.h

-1
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,3 @@
139139
/* for robust mutexes */
140140
#define TARGET_EOWNERDEAD 130 /* Owner died */
141141
#define TARGET_ENOTRECOVERABLE 131 /* State not recoverable */
142-

linux-user/i386/termbits.h

-1
Original file line numberDiff line numberDiff line change
@@ -224,4 +224,3 @@ struct target_termios {
224224
#define TARGET_TIOCPKT_DOSTOP 32
225225

226226
#define TARGET_TIOCSER_TEMT 0x01 /* Transmitter physically empty */
227-

linux-user/m68k/termbits.h

-1
Original file line numberDiff line numberDiff line change
@@ -225,4 +225,3 @@ struct target_termios {
225225
#define TARGET_TIOCPKT_DOSTOP 32
226226

227227
#define TARGET_TIOCSER_TEMT 0x01 /* Transmitter physically empty */
228-

linux-user/ppc/termbits.h

-1
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,3 @@ struct target_termios {
234234

235235
#define TARGET_TIOCMIWAIT 0x545C /* wait for a change on serial input line(s) */
236236
#define TARGET_TIOCGICOUNT 0x545D /* read serial port inline interrupt counts */
237-

linux-user/sparc/termbits.h

-1
Original file line numberDiff line numberDiff line change
@@ -277,4 +277,3 @@ struct target_termios {
277277
#define TARGET_TIOCSERSETMULTI 0x545B /* Set multiport config */
278278
#define TARGET_TIOCMIWAIT 0x545C /* Wait input */
279279
#define TARGET_TIOCGICOUNT 0x545D /* Read serial port inline interrupt counts */
280-

linux-user/sparc64/termbits.h

-1
Original file line numberDiff line numberDiff line change
@@ -277,4 +277,3 @@ struct target_termios {
277277
#define TARGET_TIOCSERSETMULTI 0x545B /* Set multiport config */
278278
#define TARGET_TIOCMIWAIT 0x545C /* Wait input */
279279
#define TARGET_TIOCGICOUNT 0x545D /* Read serial port inline interrupt counts */
280-

linux-user/strace.c

-1
Original file line numberDiff line numberDiff line change
@@ -314,4 +314,3 @@ print_syscall_ret(int num, abi_long ret)
314314
break;
315315
}
316316
}
317-

linux-user/vm86.c

-1
Original file line numberDiff line numberDiff line change
@@ -485,4 +485,3 @@ int do_vm86(CPUX86State *env, long subfunction, abi_ulong vm86_addr)
485485
out:
486486
return ret;
487487
}
488-

migration.h

-1
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,3 @@ static inline FdMigrationState *migrate_to_fms(MigrationState *mig_state)
9595
}
9696

9797
#endif
98-

pc-bios/Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ all: $(TARGETS)
1414

1515
clean:
1616
rm -f $(TARGETS) *.o *~
17-

posix-aio-compat.c

-1
Original file line numberDiff line numberDiff line change
@@ -199,4 +199,3 @@ int qemu_paio_cancel(int fd, struct qemu_paiocb *aiocb)
199199

200200
return ret;
201201
}
202-

readline.c

-2
Original file line numberDiff line numberDiff line change
@@ -484,5 +484,3 @@ const char *readline_get_history(unsigned int index)
484484
return NULL;
485485
return term_history[index];
486486
}
487-
488-

s390-dis.c

-1
Original file line numberDiff line numberDiff line change
@@ -1708,4 +1708,3 @@ const struct s390_opcode s390_opcodes[] =
17081708

17091709
const int s390_num_opcodes =
17101710
sizeof (s390_opcodes) / sizeof (s390_opcodes[0]);
1711-

s390.ld

-1
Original file line numberDiff line numberDiff line change
@@ -201,4 +201,3 @@ SECTIONS
201201
.debug_typenames 0 : { *(.debug_typenames) }
202202
.debug_varnames 0 : { *(.debug_varnames) }
203203
}
204-

slirp/debug.h

-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@ extern int slirp_debug;
3737
#endif
3838

3939
void debug_init _P((char *, int));
40-

slirp/mbuf.c

-1
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,3 @@ dtom(dat)
234234

235235
return (struct mbuf *)0;
236236
}
237-

slirp/sbuf.c

-1
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,3 @@ sbcopy(sb, off, len, to)
198198
memcpy(to+off,sb->sb_data,len);
199199
}
200200
}
201-

slirp/socket.c

-1
Original file line numberDiff line numberDiff line change
@@ -723,4 +723,3 @@ sofwdrain(so)
723723
else
724724
sofcantsendmore(so);
725725
}
726-

target-alpha/helper.c

-1
Original file line numberDiff line numberDiff line change
@@ -436,4 +436,3 @@ void cpu_dump_state (CPUState *env, FILE *f,
436436
}
437437
cpu_fprintf(f, "\nlock " TARGET_FMT_lx "\n", env->lock);
438438
}
439-

target-arm/machine.c

-2
Original file line numberDiff line numberDiff line change
@@ -211,5 +211,3 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id)
211211

212212
return 0;
213213
}
214-
215-

target-m68k/m68k-qreg.h

-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ enum {
99
#undef DEFR
1010
#undef DEFF64
1111
};
12-

target-m68k/op_helper.c

-1
Original file line numberDiff line numberDiff line change
@@ -224,4 +224,3 @@ void HELPER(divs)(CPUState *env, uint32_t word)
224224
env->div2 = rem;
225225
env->cc_dest = flags;
226226
}
227-

target-mips/machine.c

-2
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,3 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id)
1818
{
1919
return 0;
2020
}
21-
22-

0 commit comments

Comments
 (0)