git: kernel: Move semicolon from the definition of SYSINIT() to its invocations.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Mar 12 09:54:58 PDT 2015


commit f3f3eadbf9de7a55ef1ff8cb23a68641403906ea
Author: Sascha Wildner <saw at online.de>
Date:   Thu Mar 12 17:41:56 2015 +0100

    kernel: Move semicolon from the definition of SYSINIT() to its invocations.
    
    This affected around 70 of our (more or less) 270 SYSINIT() calls.
    
    style(9) advocates the terminating semicolon to be supplied by the
    invocation too, because it can make life easier for editors and other
    source code parsing programs.

Summary of changes:
 sys/dev/misc/nmdm/nmdm.c                   |  3 ++-
 sys/dev/misc/syscons/sysmouse.c            |  2 +-
 sys/kern/init_main.c                       | 20 ++++++++++----------
 sys/kern/kern_clock.c                      |  4 ++--
 sys/kern/kern_cputimer.c                   |  4 +---
 sys/kern/kern_descrip.c                    |  4 ++--
 sys/kern/kern_memio.c                      |  3 ++-
 sys/kern/kern_ntptime.c                    |  2 +-
 sys/kern/kern_sfbuf.c                      |  4 +---
 sys/kern/kern_shutdown.c                   |  4 ++--
 sys/kern/kern_slaballoc.c                  |  2 +-
 sys/kern/kern_synch.c                      |  2 +-
 sys/kern/subr_autoconf.c                   |  3 +--
 sys/kern/subr_bus.c                        |  2 +-
 sys/kern/subr_cpu_topology.c               |  2 +-
 sys/kern/subr_log.c                        |  3 ++-
 sys/kern/subr_prf.c                        |  2 +-
 sys/kern/sys_pipe.c                        |  2 +-
 sys/kern/sysv_msg.c                        |  2 +-
 sys/kern/sysv_sem.c                        |  2 +-
 sys/kern/tty_cons.c                        |  2 +-
 sys/kern/tty_pty.c                         |  3 ++-
 sys/kern/tty_subr.c                        |  2 +-
 sys/kern/tty_tty.c                         |  3 ++-
 sys/kern/uipc_domain.c                     |  3 +--
 sys/kern/uipc_mbuf.c                       |  2 +-
 sys/kern/usched_bsd4.c                     |  4 ++--
 sys/kern/usched_dfly.c                     |  2 +-
 sys/kern/usched_dummy.c                    |  4 ++--
 sys/kern/vfs_bio.c                         |  4 ++--
 sys/kern/vfs_init.c                        |  3 +--
 sys/kern/vfs_mount.c                       |  2 +-
 sys/kern/vfs_synth.c                       |  2 +-
 sys/libprop/prop_array.c                   |  2 +-
 sys/libprop/prop_data.c                    |  2 +-
 sys/libprop/prop_dictionary.c              |  8 ++++----
 sys/libprop/prop_number.c                  |  2 +-
 sys/libprop/prop_string.c                  |  2 +-
 sys/net/bpf.c                              |  2 +-
 sys/net/if.c                               |  4 ++--
 sys/platform/pc32/apic/ioapic.c            |  2 +-
 sys/platform/pc32/apic/lapic.c             |  2 +-
 sys/platform/pc32/i386/autoconf.c          |  2 +-
 sys/platform/pc32/i386/machdep.c           |  6 +++---
 sys/platform/pc32/i386/mp_machdep.c        |  4 ++--
 sys/platform/pc64/apic/ioapic.c            |  2 +-
 sys/platform/pc64/apic/lapic.c             |  2 +-
 sys/platform/pc64/x86_64/autoconf.c        |  2 +-
 sys/platform/pc64/x86_64/machdep.c         |  6 +++---
 sys/platform/pc64/x86_64/mp_machdep.c      |  4 ++--
 sys/platform/vkernel/i386/autoconf.c       |  2 +-
 sys/platform/vkernel/i386/mp.c             |  2 +-
 sys/platform/vkernel/platform/systimer.c   |  2 +-
 sys/platform/vkernel64/platform/systimer.c |  2 +-
 sys/platform/vkernel64/x86_64/autoconf.c   |  2 +-
 sys/platform/vkernel64/x86_64/mp.c         |  2 +-
 sys/sys/kernel.h                           |  2 +-
 sys/sys/module.h                           |  3 +--
 sys/sys/taskqueue.h                        |  2 +-
 sys/vfs/devfs/devfs_rules.c                |  2 +-
 sys/vfs/ufs/ufs_dirhash.c                  |  2 +-
 sys/vm/swap_pager.c                        |  2 +-
 sys/vm/vm_glue.c                           |  2 +-
 sys/vm/vm_init.c                           |  3 +--
 sys/vm/vm_mmap.c                           |  2 +-
 sys/vm/vm_page.c                           |  2 +-
 sys/vm/vm_pageout.c                        |  4 ++--
 sys/vm/vm_pager.c                          |  2 +-
 sys/vm/vm_swapcache.c                      |  2 +-
 69 files changed, 100 insertions(+), 104 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f3f3eadbf9de7a55ef1ff8cb23a68641403906ea


-- 
DragonFly BSD source repository



More information about the Commits mailing list