Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/alpha Make atoi func static, and constify
details: https://anonhg.NetBSD.org/src/rev/54ffd9e48753
branches: trunk
changeset: 767669:54ffd9e48753
user: njoly <njoly%NetBSD.org@localhost>
date: Tue Jul 26 14:59:03 2011 +0000
description:
Make atoi func static, and constify
diffstat:
sys/arch/alpha/alpha/autoconf.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r 344b38972871 -r 54ffd9e48753 sys/arch/alpha/alpha/autoconf.c
--- a/sys/arch/alpha/alpha/autoconf.c Tue Jul 26 13:33:43 2011 +0000
+++ b/sys/arch/alpha/alpha/autoconf.c Tue Jul 26 14:59:03 2011 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index