DragonFly BSD
DragonFly commits List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sbin/ping6 Makefile ping6.c

From: Chris Pressey <cpressey@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 5 Mar 2005 14:27:08 -0800 (PST)

cpressey    2005/03/05 14:27:08 PST

DragonFly src repository

  Modified files:
    sbin/ping6           Makefile ping6.c 
  Raise WARNS to 6:
  - Cast sizeof()'s to int where appropriate.
  - Initialize locals where needed.
  - Mark unused function arguments as __unused.
  - Rename some locals to avoid conflicts with globals.
  - Constify some char *'s.
  - Only define get_pathmtu() and set_pathmtu() if IPV6_RECVPATHMTU or
    IPV6_USE_MTU are #defined, respectively.  Otherwise, #define them
    as do-nothing macros.
  And style(9):
  - Remove `register' keywords.
  - Remove #if defined(__OperatingSystem__) conditional compilation.
  Submitted-by: Pawel Biernacki <kaktus_at_dragonflybsd_dot_pl>
  Some-tweaks-by: cpressey
  Revision  Changes    Path
  1.3       +2 -1      src/sbin/ping6/Makefile
  1.8       +33 -38    src/sbin/ping6/ping6.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]