* .version: bumped version number to 2.4.5
[fw/sdcc] / device / lib / pic16 / libsdcc / long / divulong.c
index 867964136733365f08c858901f3b0d1a925eba35..2e7d7961485812e0695e7329dfc60d358d5b44eb 100644 (file)
    what you give them.   Help stamp out software-hoarding!
 -------------------------------------------------------------------------*/
 
+#include <sdcc-lib.h>
+
 #define MSB_SET(x) ((x >> (8*sizeof(x)-1)) & 1)
 
-unsigned long _divulong (unsigned long a, unsigned long b)
+unsigned long _divulong (unsigned long a, unsigned long b) _IL_REENTRANT
 {
   unsigned long reste = 0L;
   unsigned char count = 32;