mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-26 23:34:18 +02:00
Declare save_far_fnode before use.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@823 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
d17f333243
commit
416e1014cf
@ -39,6 +39,7 @@ BYTE *RcsId = "$Id$";
|
|||||||
/* */
|
/* */
|
||||||
f_node_ptr xlt_fd(COUNT);
|
f_node_ptr xlt_fd(COUNT);
|
||||||
COUNT xlt_fnp(f_node_ptr);
|
COUNT xlt_fnp(f_node_ptr);
|
||||||
|
STATIC void save_far_f_node(f_node_ptr fnp);
|
||||||
STATIC f_node_ptr get_near_f_node(void);
|
STATIC f_node_ptr get_near_f_node(void);
|
||||||
STATIC f_node_ptr split_path(char *, char *);
|
STATIC f_node_ptr split_path(char *, char *);
|
||||||
BOOL find_fname(f_node_ptr, char *, int);
|
BOOL find_fname(f_node_ptr, char *, int);
|
||||||
@ -2203,7 +2204,7 @@ f_node_ptr xlt_fd(int fd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* copy a near fnode to the corresponding far one and release it */
|
/* copy a near fnode to the corresponding far one and release it */
|
||||||
void save_far_f_node(f_node_ptr fnp)
|
STATIC void save_far_f_node(f_node_ptr fnp)
|
||||||
{
|
{
|
||||||
fmemcpy(&f_nodes[xlt_fnp(fnp)], fnp, sizeof(*fnp));
|
fmemcpy(&f_nodes[xlt_fnp(fnp)], fnp, sizeof(*fnp));
|
||||||
release_near_f_node(fnp);
|
release_near_f_node(fnp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user