if ((fi2=fopen(s,"rb"))==NULL)
if ((fi2=fopen(filename,"rb"))==NULL)
void rebuild(void){	unsigned int c;	char s[10];	FILE *fi=fopen("index","r"),*fi2,*fo=fopen("usecode","wb");	if (fi==NULL)		{			printf("Can't open index file.\n");			exit(0);		}	if (fo==NULL)		{			printf("Can't create usecode file.\n");			exit(0);		}	while (!feof(fi)) {		fgets(s,10,fi);		if (!feof(fi))			{				s[strlen(s)-1]=0;				printf("Writing function: %s... ",s);				if ((fi2=fopen(s,"rb"))==NULL)					{						printf("Can't open file\n");						exit(0);					}				while(!feof(fi2))					{						c=fgetc(fi2);						if (!feof(fi2))							fputc(c,fo);					}				fclose(fi2);				printf("done\n");			}	}	exit(0);}