Module Name:    src
Committed By:   njoly
Date:           Tue Jul 26 14:59:03 UTC 2011

Modified Files:
        src/sys/arch/alpha/alpha: autoconf.c

Log Message:
Make atoi func static, and constify


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/alpha/alpha/autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/alpha/alpha/autoconf.c
diff -u src/sys/arch/alpha/alpha/autoconf.c:1.48 src/sys/arch/alpha/alpha/autoconf.c:1.49
--- src/sys/arch/alpha/alpha/autoconf.c:1.48	Tue Jun 14 15:34:21 2011
+++ src/sys/arch/alpha/alpha/autoconf.c	Tue Jul 26 14:59:03 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.48 2011/06/14 15:34:21 matt Exp $ */
+/* $NetBSD: autoconf.c,v 1.49 2011/07/26 14:59:03 njoly Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -42,7 +42,7 @@
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.48 2011/06/14 15:34:21 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.49 2011/07/26 14:59:03 njoly Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -63,7 +63,7 @@
 struct bootdev_data	*bootdev_data;
 
 void	parse_prom_bootdev(void);
-int	atoi(char *);
+static int atoi(const char *);
 
 /*
  * cpu_configure:
@@ -163,8 +163,8 @@
 	bootdev_data = &bd;
 }
 
-int
-atoi(char *s)
+static int
+atoi(const char *s)
 {
 	int n, neg;
 

Reply via email to