Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/stand/ofwboot - remove extern from function d...
details: https://anonhg.NetBSD.org/src/rev/85ad16c043a2
branches: trunk
changeset: 765611:85ad16c043a2
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Wed Jun 01 11:43:12 2011 +0000
description:
- remove extern from function declarations
- some KNF
diffstat:
sys/arch/sparc/stand/ofwboot/boot.h | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diffs (50 lines):
diff -r 1357b00c0aba -r 85ad16c043a2 sys/arch/sparc/stand/ofwboot/boot.h
--- a/sys/arch/sparc/stand/ofwboot/boot.h Wed Jun 01 11:42:18 2011 +0000
+++ b/sys/arch/sparc/stand/ofwboot/boot.h Wed Jun 01 11:43:12 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boot.h,v 1.8 2011/05/19 15:18:29 hauke Exp $ */
+/* $NetBSD: boot.h,v 1.9 2011/06/01 11:43:12 tsutsui Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -44,29 +44,29 @@
extern const char bootprog_name[];
/* bootinfo.c */
-extern u_long bi_init(u_long);
-extern void bi_add(void *, int, size_t);
+u_long bi_init(u_long);
+void bi_add(void *, int, size_t);
/* sparc64.c */
-extern ssize_t sparc64_read(int, void *, size_t);
-extern void* sparc64_memcpy(void *, const void *, size_t);
-extern void* sparc64_memset(void *, int, size_t);
-extern void sparc64_bi_add(void);
-extern void sparc64_finalize_tlb(u_long);
+ssize_t sparc64_read(int, void *, size_t);
+void *sparc64_memcpy(void *, const void *, size_t);
+void *sparc64_memset(void *, int, size_t);
+void sparc64_bi_add(void);
+void sparc64_finalize_tlb(u_long);
/* srt0.s */
-extern u_int get_cpuid(void);
+u_int get_cpuid(void);
/* loadfile_machdep.c */
#define LOADFILE_NOP_ALLOCATOR 0x0
#define LOADFILE_OFW_ALLOCATOR 0x1
#define LOADFILE_MMU_ALLOCATOR 0x2
-extern void loadfile_set_allocator(int);
+void loadfile_set_allocator(int);
/* alloc.c */
-extern void freeall(void);
+void freeall(void);
/* ofdev.c */
-char *filename(char*, char*);
+char *filename(char *, char *);
#endif /* _BOOT_H_ */
Home |
Main Index |
Thread Index |
Old Index