summaryrefslogtreecommitdiff
path: root/src/compilo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compilo.c')
-rw-r--r--src/compilo.c24
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"));
}