changeset 508:e3b597f858ce

osx.c: _osx_init() done
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 01 Jul 2014 19:51:51 +0000
parents 8fdcb8e01bbf
children a92cf1059894
files gsm-fw/gpf/osx/osx.c
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/gpf/osx/osx.c	Tue Jul 01 19:46:44 2014 +0000
+++ b/gsm-fw/gpf/osx/osx.c	Tue Jul 01 19:51:51 2014 +0000
@@ -197,3 +197,12 @@
 	_osx_registry[queue_type].caller = caller;
 	return(OSX_OK);
 }
+
+void
+_osx_init(void)
+{
+	USHORT i;
+
+	for (i = 0; i < MAX_OSX_QUEUE; i++)
+		_osx_registry[i].queue_handle = -1;
+}