Make mutex functions reentrant
[fw/altos] / ao.h
diff --git a/ao.h b/ao.h
index 5574f30fe156fb7262c2e983b0e748496772eae8..39ad9587d2073d45d9edc519b71a24a8077315bf 100644 (file)
--- a/ao.h
+++ b/ao.h
@@ -305,10 +305,10 @@ ao_dma_isr(void) interrupt 8;
  */
 
 void
  */
 
 void
-ao_mutex_get(__xdata uint8_t *ao_mutex);
+ao_mutex_get(__xdata uint8_t *ao_mutex) __reentrant;
 
 void
 
 void
-ao_mutex_put(__xdata uint8_t *ao_mutex);
+ao_mutex_put(__xdata uint8_t *ao_mutex) __reentrant;
 
 /*
  * ao_ee.c
 
 /*
  * ao_ee.c