Change ALLOC_ATOMIC in ALLOC
[fw/sdcc] / src / SDCCmain.c
index 3c53bb8fb1ab67ee11a4150d4914632f60e1cc1b..299cdafe10b3a2d151438d41777721a2f9709e70 100644 (file)
@@ -417,7 +417,7 @@ static void processFile (char *s)
        
        /* get rid of the "." */
        strtok(buffer,".");
-       ALLOC_ATOMIC(srcFileName,strlen(buffer)+1);
+       ALLOC(srcFileName,strlen(buffer)+1);
        strcpy(srcFileName,buffer);
 
        /* get rid of any path information 
@@ -430,7 +430,7 @@ static void processFile (char *s)
               *(fext-1) != '/'   &&
               *(fext-1) != ':')
            fext--;
-       ALLOC_ATOMIC(moduleName,strlen(fext)+1);
+       ALLOC(moduleName,strlen(fext)+1);
        strcpy(moduleName,fext);
        
        return ;