Check for SYS/GL during library init. Reason is that
[AROS.git] / rom / intuition / initrequester.c
blobbcb8ce270ca9e1444238c62ac7ae1a7c2dd68818
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
5 */
7 #include "intuition_intern.h"
9 /*****************************************************************************
11 NAME */
12 #include <proto/intuition.h>
14 AROS_LH1(void, InitRequester,
16 /* SYNOPSIS */
17 AROS_LHA(struct Requester *, requester, A0),
19 /* LOCATION */
20 struct IntuitionBase *, IntuitionBase, 23, Intuition)
22 /* FUNCTION
23 This function is OBSOLETE and should not be called. To preserve
24 compatibility with old programs, calling this function is a no-op.
26 INPUTS
27 requester - The struct Requester to be initialized
29 RESULT
30 None.
32 NOTES
33 This function is obsolete.
35 EXAMPLE
37 BUGS
39 SEE ALSO
40 Request(), EndRequest()
42 INTERNALS
44 *****************************************************************************/
46 AROS_LIBFUNC_INIT
48 DEBUG_REQUEST(dprintf("InitRequester: req 0x%lx\n", requester));
50 IntuitionBase = IntuitionBase; /* shut up the compiler */
52 SANITY_CHECK(requester)
54 memset(requester, 0, sizeof(struct Requester));
56 AROS_LIBFUNC_EXIT
57 } /* InitRequester */