From 1fb4a30294740ad3a6ab1ad968baeeb792a44d40 Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Fri, 26 Mar 2004 23:27:18 +0000 Subject: [PATCH] Add forward declaration for config_init_fnodes. Made static too. git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@829 6ac86273-5f31-0410-b378-82cca8765d1b --- kernel/config.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/config.c b/kernel/config.c index 8f9ae42..0c5803f 100644 --- a/kernel/config.c +++ b/kernel/config.c @@ -250,7 +250,8 @@ STATIC int LoadCountryInfoHardCoded(char *filename, COUNT ctryCode, COUNT codePa STATIC void umb_init(void); void HMAconfig(int finalize); -VOID config_init_buffers(COUNT anzBuffers); /* from BLOCKIO.C */ +STATIC void config_init_buffers(int anzBuffers); /* from BLOCKIO.C */ +STATIC void config_init_fnodes(int f_nodes_cnt); #ifdef I86 STATIC VOID FAR * AlignParagraph(VOID FAR * lpPtr); @@ -1701,7 +1702,7 @@ STATIC COUNT strcasecmp(REG BYTE * d, REG BYTE * s) that saves some relocation problems */ -VOID config_init_buffers(COUNT anzBuffers) +STATIC void config_init_buffers(int anzBuffers) { REG WORD i; struct buffer FAR *pbuffer; @@ -1772,7 +1773,7 @@ VOID config_init_buffers(COUNT anzBuffers) anzBuffers, anzBuffers * sizeof(struct buffer)); } -VOID config_init_fnodes(int f_nodes_cnt) +STATIC void config_init_fnodes(int f_nodes_cnt) { struct f_node FAR *p; size_t bytes;