git: sbin/*hammer: Use consistent static/inline/returntype format for functions

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Fri Apr 14 12:07:55 PDT 2017


commit 005a4da7c7e9f1ce1486991786575353476f9282
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Fri Apr 14 16:30:08 2017 +0300

    sbin/*hammer: Use consistent static/inline/returntype format for functions
    
    Change them to HAMMER2 style which has much more stable code style
    than HAMMER1. HAMMER1 is basically a mix of every possible pattern
    (even in the code originally written only by dillon@).

Summary of changes:
 sbin/hammer/cmd_blockmap.c       |  9 ++++---
 sbin/hammer/cmd_cleanup.c        | 51 ++++++++++++++++++++++++++--------------
 sbin/hammer/cmd_config.c         |  9 ++++---
 sbin/hammer/cmd_dedup.c          | 45 +++++++++++++++++++++++------------
 sbin/hammer/cmd_history.c        | 21 +++++++++++------
 sbin/hammer/cmd_info.c           |  6 +++--
 sbin/hammer/cmd_mirror.c         | 30 +++++++++++++++--------
 sbin/hammer/cmd_pfs.c            | 15 ++++++++----
 sbin/hammer/cmd_recover.c        |  6 +++--
 sbin/hammer/cmd_show.c           | 18 +++++++++-----
 sbin/hammer/cmd_softprune.c      | 15 ++++++++----
 sbin/hammer/cmd_strip.c          |  9 ++++---
 sbin/hammer/ondisk.c             | 42 ++++++++++++++++++++++-----------
 sbin/mount_hammer/mount_hammer.c |  4 +++-
 sbin/newfs_hammer/newfs_hammer.c | 21 +++++++++++------
 15 files changed, 201 insertions(+), 100 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/005a4da7c7e9f1ce1486991786575353476f9282


-- 
DragonFly BSD source repository


More information about the Commits mailing list