git: Rename getline with get_line to avoid collision with getline(3).

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Wed Aug 31 01:00:30 PDT 2016


commit cae2835b6b4ebad97f7a0b45157102f433a3c656
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sat Aug 20 20:16:42 2016 +0300

    Rename getline with get_line to avoid collision with getline(3).
    
    Just as it was recently done over at FreeBSD.
    While there, perform some style changes too (could not resist that).
    Only readline() -> read_line() functional change was intended.

Summary of changes:
 bin/pax/options.c                           | 76 +++++++++++++++--------------
 games/cribbage/crib.c                       |  4 +-
 games/cribbage/cribbage.h                   |  2 +-
 games/cribbage/io.c                         |  8 +--
 libexec/ftpd/extern.h                       |  2 +-
 libexec/ftpd/ftpcmd.y                       |  6 +--
 libexec/ftpd/ftpd.c                         |  2 +-
 libexec/getty/main.c                        | 32 ++++++------
 sbin/iscontrol/config.c                     |  4 +-
 sbin/startslip/startslip.c                  | 12 ++---
 sys/kern/vfs_conf.c                         |  6 +--
 tools/regression/lib/libc-regex/testregex.c |  4 +-
 usr.bin/csplit/csplit.c                     | 17 +++----
 usr.bin/ctags/C.c                           | 10 ++--
 usr.bin/ctags/ctags.h                       |  4 +-
 usr.bin/ctags/fortran.c                     |  4 +-
 usr.bin/ctags/lisp.c                        |  4 +-
 usr.bin/ctags/print.c                       |  6 +--
 usr.bin/ctags/yacc.c                        |  4 +-
 usr.bin/gencat/gencat.c                     | 10 ++--
 usr.bin/rs/rs.c                             | 10 ++--
 usr.bin/uudecode/uudecode.c                 | 70 ++++++++++++++------------
 usr.sbin/ftp-proxy/ftp-proxy.c              |  8 +--
 usr.sbin/inetd/builtins.c                   |  6 +--
 usr.sbin/lpr/common_source/common.c         |  4 +-
 usr.sbin/lpr/common_source/ctlinfo.c        |  2 +-
 usr.sbin/lpr/common_source/displayq.c       |  4 +-
 usr.sbin/lpr/common_source/lp.h             |  2 +-
 usr.sbin/lpr/common_source/rmjob.c          |  6 +--
 usr.sbin/lpr/lpc/cmds.c                     |  4 +-
 usr.sbin/lpr/lpd/printjob.c                 | 14 +++---
 31 files changed, 179 insertions(+), 168 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list