diff options
Diffstat (limited to 'src/compilo.c')
-rw-r--r-- | src/compilo.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/compilo.c b/src/compilo.c index 6c9e36b..161c70f 100644 --- a/src/compilo.c +++ b/src/compilo.c @@ -8,30 +8,6 @@ #include "hash.h" #include "assembler.h" -char * Estrdup(char * o) { - char * r; - - if (!(r = strdup(o))) { - exception(1, _("Out of memory.")); - } - return r; -} - -void * Emalloc(size_t s) { - void * r; - - if (!(r = malloc(s))) { - exception(1, _("Out of memory.")); - } - return r; -} - -void exception(int level, char *msg) -{ - fprintf(stderr, "%s\n", msg); - exit(level); -} - void invite(void) { fprintf(stderr, _("Assembler\n\n")); } |