git: sbin/hammer: Make getyn() non static

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Apr 3 22:52:16 PDT 2016


commit 778c2d2c0cce2142a5d08710aab562f7bebca848
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Apr 4 05:45:46 2016 +0900

    sbin/hammer: Make getyn() non static
    
    This can be used by other commands (needed in the next commit).
    
    Also rename static function getyn() in sbin/hammer/cmd_mirror.c
    to getyntty() to avoid symbol name conflict.

Summary of changes:
 sbin/hammer/cmd_mirror.c |  6 +++---
 sbin/hammer/cmd_pfs.c    | 23 -----------------------
 sbin/hammer/hammer.h     |  1 +
 sbin/hammer/misc.c       | 27 +++++++++++++++++++++++++--
 4 files changed, 29 insertions(+), 28 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/778c2d2c0cce2142a5d08710aab562f7bebca848


-- 
DragonFly BSD source repository



More information about the Commits mailing list