diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-28 00:57:57 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-28 00:57:57 +0000 |
commit | 975fba8a24263006afbbb4e38dd6bf515bdf4b43 (patch) | |
tree | da30cbbe5e5f3c775029e38108f63aa8b8cd17b7 /sys/kern/subr_scanf.c | |
parent | 4cc7d69521756e89ce3e5ea28211fda13fc4c9ff (diff) | |
download | FreeBSD-src-975fba8a24263006afbbb4e38dd6bf515bdf4b43.zip FreeBSD-src-975fba8a24263006afbbb4e38dd6bf515bdf4b43.tar.gz |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Diffstat (limited to 'sys/kern/subr_scanf.c')
-rw-r--r-- | sys/kern/subr_scanf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_scanf.c b/sys/kern/subr_scanf.c index b469d65..fac7a59 100644 --- a/sys/kern/subr_scanf.c +++ b/sys/kern/subr_scanf.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: subr_scanf.c,v 1.1 1999/01/15 00:03:39 msmith Exp $ + * $Id: subr_scanf.c,v 1.2 1999/01/27 21:36:14 dillon Exp $ * From: Id: vfscanf.c,v 1.13 1998/09/25 12:20:27 obrien Exp */ @@ -639,7 +639,7 @@ doswitch: * alphabets and digits are each contiguous. */ u_quad_t -strtouq(const char *nptr, char **endptr, int base) +strtouq(const char *nptr, const char **endptr, int base) { const char *s = nptr; u_quad_t acc; @@ -708,7 +708,7 @@ strtouq(const char *nptr, char **endptr, int base) * alphabets and digits are each contiguous. */ quad_t -strtoq(const char *nptr, char **endptr, int base) +strtoq(const char *nptr, const char **endptr, int base) { const char *s; u_quad_t acc; |