grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / exec / oldopenlibrary.c
blob0e29230373a8dc9c973d9aa801c8365cb477d7aa
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: (Obsolete) Open a library.
6 Lang: english
7 */
8 #include "exec_intern.h"
9 #include <aros/libcall.h>
10 #include <exec/libraries.h>
11 #include <proto/exec.h>
13 /*****************************************************************************
15 NAME */
17 AROS_LH1(struct Library *, OldOpenLibrary,
19 /* SYNOPSIS */
20 AROS_LHA(UBYTE *, libName, A1),
22 /* LOCATION */
23 struct ExecBase *, SysBase, 68, Exec)
25 /* FUNCTION
26 This is the same function as OpenLibrary(), only that it uses 0 as
27 version number. This function is obsolete. Don't use it.
29 INPUTS
31 RESULT
33 NOTES
35 EXAMPLE
37 BUGS
39 SEE ALSO
40 OpenLibrary()
42 INTERNALS
44 *****************************************************************************/
46 AROS_LIBFUNC_INIT
47 return OpenLibrary(libName,0);
48 AROS_LIBFUNC_EXIT
49 } /* OldOpenLibrary */