Commit of the code which was suggested by Georg as a fix for:
[cake.git] / rom / exec / oldopenlibrary.c
blob0a777f28b6f3bef743e476b416293c4a5878ee1f
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 */