mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 17:23:35 +00:00
Constify where appropriate.
Reported by: emaste Approved by: cperciva (mentor) MFC After: 3 days
This commit is contained in:
parent
4145c5f17e
commit
b268ae6440
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249806
@ -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