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

cvs commit: src/usr.bin/su Makefile su.c


From: Chris Pressey <cpressey@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 19 Dec 2004 13:10:48 -0800 (PST)

cpressey    2004/12/19 13:10:48 PST

DragonFly src repository

  Modified files:
    usr.bin/su           Makefile su.c 
  Log:
  Bump WARNS to 6:
  - Un-nest 'extern' declaration.
  - Constify some char *'s and char **'s.  In the process:
  --- Split a variable which was re-used, and give the new variable a
      more descriptive name (entered_pass.)
  --- Use __DECONST() to convert from const char ** to char * const *
      without raising a warning.
  
  __DECONST()-ickiness-OK'ed-by: joerg
  
  Revision  Changes    Path
  1.5       +1 -0      src/usr.bin/su/Makefile
  1.6       +17 -9     src/usr.bin/su/su.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/su/Makefile.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/su/su.c.diff?r1=1.5&r2=1.6&f=u



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