int __cdecl _mbsnbcmp (const unsigned char*, const unsigned char*, size_t);
int __cdecl _mbsnbicmp (const unsigned char*, const unsigned char*, size_t);
+void * __cdecl _onexit (int (__cdecl *)(void));
+
void * __cdecl signal (int, void *);
int __cdecl raise (int);
}
}
- if (IS_OR3(word, "call", "jmp", "public")) {
+ if (IS_OR2(word, "call", "jmp")) {
ssym.name = word2;
sym = bsearch(&ssym, symlist, symlist_cnt,
sizeof(symlist[0]), cmp_sym);
}
}
+ if (IS(word, "public")) {
+ ssym.name = word2;
+ sym = bsearch(&ssym, symlist, symlist_cnt,
+ sizeof(symlist[0]), cmp_sym);
+ if (sym != NULL) {
+ fprintf(fout, "\t\tpublic %s%s", sym_use(sym), p);
+ continue;
+ }
+ }
+
p = sskip(p);
if (*p == 0 || *p == ';')
goto pass; // need at least 3 words