mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
changing {} style to match majority of previous style
This commit is contained in:
parent
da6cdf014b
commit
961d929f4d
320 changed files with 5502 additions and 10485 deletions
|
@ -44,8 +44,7 @@
|
|||
|
||||
|
||||
void *luaM_growaux_(lua_State *L, void *block, int *size, size_t size_elems,
|
||||
int limit, const char *what)
|
||||
{
|
||||
int limit, const char *what) {
|
||||
void *newblock;
|
||||
int newsize;
|
||||
if (*size >= limit / 2) { /* cannot double it? */
|
||||
|
@ -63,8 +62,7 @@ void *luaM_growaux_(lua_State *L, void *block, int *size, size_t size_elems,
|
|||
}
|
||||
|
||||
|
||||
l_noret luaM_toobig(lua_State *L)
|
||||
{
|
||||
l_noret luaM_toobig(lua_State *L) {
|
||||
luaG_runerror(L, "memory allocation error: block too big");
|
||||
}
|
||||
|
||||
|
@ -73,8 +71,7 @@ l_noret luaM_toobig(lua_State *L)
|
|||
/*
|
||||
** generic allocation routine.
|
||||
*/
|
||||
void *luaM_realloc_(lua_State *L, void *block, size_t osize, size_t nsize)
|
||||
{
|
||||
void *luaM_realloc_(lua_State *L, void *block, size_t osize, size_t nsize) {
|
||||
void *newblock;
|
||||
global_State *g = G(L);
|
||||
size_t realosize = (block) ? osize : 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue