diff options
Diffstat (limited to 'src/allocator.c')
| -rw-r--r-- | src/allocator.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/allocator.c b/src/allocator.c index 98fa69f..d6aeea9 100644 --- a/src/allocator.c +++ b/src/allocator.c | |||
| @@ -49,7 +49,7 @@ char * | |||
| 49 | allocator_strdup(struct allocator *allocator, const char *str) | 49 | allocator_strdup(struct allocator *allocator, const char *str) |
| 50 | { | 50 | { |
| 51 | size_t n; | 51 | size_t n; |
| 52 | char * dest; | 52 | char *dest; |
| 53 | 53 | ||
| 54 | n = strlen(str) + 1; | 54 | n = strlen(str) + 1; |
| 55 | dest = allocator_malloc(allocator, n); | 55 | dest = allocator_malloc(allocator, n); |
| @@ -74,6 +74,7 @@ allocator_malloc_zero(struct allocator *allocator, size_t n) | |||
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | int | 76 | int |
| 77 | main() | 77 | main(void) |
| 78 | { | 78 | { |
| 79 | return 0; | ||
| 79 | } | 80 | } |
