diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2012-09-20 14:28:58 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2012-09-20 14:28:58 +0000 |
commit | 5d6d000f556f7fad5b4f403de837c7f80b480948 (patch) | |
tree | 5412d4bc8343a9d49f2ea079f916f7afe29c755a /usr.sbin/smtpd/util.c | |
parent | 7c9894d57a7f696a314e3b1ddb0b21a3f123dc4d (diff) |
constify parameters that are supposed to be const.
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/util.c')
-rw-r--r-- | usr.sbin/smtpd/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/util.c b/usr.sbin/smtpd/util.c index 05b98c4a05d..3bf79d433eb 100644 --- a/usr.sbin/smtpd/util.c +++ b/usr.sbin/smtpd/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.78 2012/09/18 14:23:01 eric Exp $ */ +/* $OpenBSD: util.c,v 1.79 2012/09/20 14:28:57 eric Exp $ */ /* * Copyright (c) 2000,2001 Markus Friedl. All rights reserved. @@ -799,7 +799,7 @@ addargs(arglist *args, char *fmt, ...) } int -lowercase(char *buf, char *s, size_t len) +lowercase(char *buf, const char *s, size_t len) { if (len == 0) return 0; @@ -816,7 +816,7 @@ lowercase(char *buf, char *s, size_t len) } void -xlowercase(char *buf, char *s, size_t len) +xlowercase(char *buf, const char *s, size_t len) { if (len == 0) fatalx("lowercase: len == 0"); |