cvs commit: src/bin/domainname Makefile domainname.c

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Sun Aug 15 05:29:19 PDT 2004


joerg       2004/08/15 05:27:37 PDT

DragonFly src repository

  Modified files:
    bin/domainname       Makefile domainname.c 
  Log:
  - remove prototype for main
  - make usage() static
  - remove unnecessary casts of function returns
  - explicitly check input length against MAXHOSTNAMELEN for setdomainname
  - explicitly terminate string after getdomainname
  - minor style cleanup, this is WARNS?= 6 clean.
  
  Revision  Changes    Path
  1.3       +2 -2      src/bin/domainname/Makefile
  1.5       +16 -9     src/bin/domainname/domainname.c


http://www.dragonflybsd.org/cvsweb/src/bin/domainname/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/domainname/domainname.c.diff?r1=1.4&r2=1.5&f=u





More information about the Commits mailing list