Check for SYS/GL during library init. Reason is that
[AROS.git] / rom / intuition / unlockpubclass.c
blob52ffd250c51db94654f2d5a95155c17b24c65dee
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$
6 Unlocks the public classes list.
7 */
9 #include <proto/exec.h>
10 #include "intuition_intern.h"
12 /*****************************************************************************
14 NAME */
15 #include <proto/intuition.h>
17 AROS_LH0(void, unlockPubClass,
19 /* SYNOPSIS */
21 /* LOCATION */
22 struct IntuitionBase *, IntuitionBase, 121, Intuition)
24 /* FUNCTION
25 Unlocks the public classes list.
27 INPUTS
28 None.
30 RESULT
31 None.
33 NOTES
35 EXAMPLE
37 BUGS
39 SEE ALSO
40 lockPubClass()
42 INTERNALS
44 *****************************************************************************/
46 AROS_LIBFUNC_INIT
48 ReleaseSemaphore (&GetPrivIBase(IntuitionBase)->ClassListLock);
50 AROS_LIBFUNC_EXIT
51 } /* unlockPubClass */