/** starburst.c
*
*	 Toggles	the bit that controls whether	asterisk	wildcards are allowed
*	 or not.	Thanks to Randall	Jesup!
*
*	 W.G.J. Langeveld, July	1990.
*
*   Added check for V36.
*	 Greatly reduced in size by using protos and non-c.o linking.
*   Compile with "lc -v -O starburst" and link with "blink starburst.o".
*
*	 S. Vigna, June 1991
*
**/
#include	<exec/types.h>
#include	<dos/dos.h>
#include	<dos/dosextens.h>
#include	<proto/exec.h>


void __saveds main(void) {

	struct DosLibrary *DOSBase;

	if (!(DOSBase = (void *)OpenLibrary("dos.library", 36L))) return;

	((struct	RootNode	*)(DOSBase->dl_Root))->rn_Flags ^= RNF_WILDSTAR;

	CloseLibrary((void *)DOSBase);
}
