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

Chris Pressey cpressey at crater.dragonflybsd.org
Sun Dec 19 13:10:56 PST 2004


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





More information about the Commits mailing list