Author: eadler
Date: Tue Apr 23 13:03:17 2013
New Revision: 249806
URL: http://svnweb.freebsd.org/changeset/base/249806

Log:
  Constify where appropriate.
  
  Reported by:  emaste
  Approved by:  cperciva (mentor)
  MFC After:    3 days

Modified:
  head/usr.bin/touch/touch.c

Modified: head/usr.bin/touch/touch.c
==============================================================================
--- head/usr.bin/touch/touch.c  Tue Apr 23 13:03:14 2013        (r249805)
+++ head/usr.bin/touch/touch.c  Tue Apr 23 13:03:17 2013        (r249806)
@@ -61,7 +61,7 @@ static void   stime_arg2(const char *, int
 static void    stime_darg(const char *, struct timeval *);
 static void    stime_file(const char *, struct timeval *);
 static int     timeoffset(const char *);
-static void    usage(char *);
+static void    usage(const char *);
 
 int
 main(int argc, char *argv[])
@@ -414,7 +414,7 @@ stime_file(const char *fname, struct tim
 }
 
 static void
-usage(char *myname)
+usage(const char *myname)
 {
        fprintf(stderr, "usage: %s [-A [-][[hh]mm]SS] [-achm] [-r file] "
                "[-t [[CC]YY]MMDDhhmm[.SS]]\n"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to