diff options
author | wlestes <wlestes> | 2012-03-21 18:36:28 +0000 |
---|---|---|
committer | wlestes <wlestes> | 2012-03-21 18:36:28 +0000 |
commit | 8763c3cf88e4b89c8fb9a352df605282468c3f13 (patch) | |
tree | 76bc46c7d9321b26842feb36524df7046a7dace9 /lib/lib.c | |
parent | 7ed646072e5aabd26b724eca44741f54a3889c1a (diff) | |
download | flex-8763c3cf88e4b89c8fb9a352df605282468c3f13.tar.gz |
provide malloc() and realloc() for systems that do not have satisfactory versions; resolves #1899047
Diffstat (limited to 'lib/lib.c')
-rw-r--r-- | lib/lib.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/lib.c b/lib/lib.c new file mode 100644 index 0000000..a8ff70f --- /dev/null +++ b/lib/lib.c @@ -0,0 +1,7 @@ +/* Since building an empty library could cause problems, we provide a + * function to go into the library. We could make this non-trivial by + * moving something that flex treats as a library function into this + * directory. */ + +void do_nothing(){ return;} + |