Skip to content

Commit

Permalink
removed dex_error cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Maxwell committed Jan 7, 2009
1 parent a43a693 commit 34b90d6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 14 deletions.
1 change: 1 addition & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
# - python
# - complain if empty / runtime no-match errors
- memory leaks
- thread-safe exceptions

--------- release --------

Expand Down
5 changes: 0 additions & 5 deletions dex_error.c

This file was deleted.

5 changes: 0 additions & 5 deletions dexter_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
#include <argp.h>
#include "util.h"

void dex_error(char* msg){
fprintf(stderr, "%s\n", msg);
exit(1);
}

struct arguments
{
struct list_elem *include_files;
Expand Down
4 changes: 0 additions & 4 deletions dexterc_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state)

static struct argp argp = { options, parse_opt, args_doc, doc };

void dex_error(char* msg){
fprintf(stderr, "%s\n", msg);
}

int main (int argc, char **argv) {
struct arguments arguments;
struct list_elem elem;
Expand Down

0 comments on commit 34b90d6

Please sign in to comment.