Constify where appropriate.
Reported by: emaste Approved by: cperciva (mentor) MFC After: 3 days
This commit is contained in:
parent
ba2622c8ca
commit
06db46a767
@ -61,7 +61,7 @@ static void stime_arg2(const char *, int, struct timeval *);
|
||||
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 timeval *tvp)
|
||||
}
|
||||
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user