diff options
| author | lneto <lneto@NetBSD.org> | 2014-07-19 17:10:02 +0000 |
|---|---|---|
| committer | lneto <lneto@NetBSD.org> | 2014-07-19 17:10:02 +0000 |
| commit | 4f74f463135be4d0b65d12be5db64b794aa459a5 (patch) | |
| tree | 0e164c8409af8191ff72846ed0f30ffe8969e08d /sys/modules/lua/stdlib.h | |
| parent | 927d4ef246f1a404ba249d07f2d590d9a093c875 (diff) | |
lua(4): cleaned stubs
Diffstat (limited to 'sys/modules/lua/stdlib.h')
| -rw-r--r-- | sys/modules/lua/stdlib.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/modules/lua/stdlib.h b/sys/modules/lua/stdlib.h index b67b5419878..d3cf9bc10da 100644 --- a/sys/modules/lua/stdlib.h +++ b/sys/modules/lua/stdlib.h @@ -1,7 +1,7 @@ /* $NetBSD */ /* - * Copyright (c) 2011, Lourival Neto <lneto@NetBSD.org>. + * Copyright (c) 2011-2014, Lourival Neto <lneto@NetBSD.org>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -36,11 +36,8 @@ #include <sys/param.h> #include <sys/kmem.h> -#ifndef _LUA_INCLUDE_STDLIB -#define _LUA_INCLUDE_STDLIB - -#define realloc(ptr, nsize) kmem_alloc(nsize, KM_SLEEP) -#define free(ptr) kmem_free(ptr, osize) +#ifndef _LUA_INCLUDE_STDLIB_ +#define _LUA_INCLUDE_STDLIB_ #define exit(EXIT_FAILURE) return |
