From 0133610315f42f9ec35acacd028f31e4a95a16b5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 7 Apr 1999 12:37:02 -0300 Subject: format for function prototypes. --- lundump.c | 10 +++++----- lundump.h | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lundump.c b/lundump.c index a0079e26..8fd8f1d0 100644 --- a/lundump.c +++ b/lundump.c @@ -1,5 +1,5 @@ /* -** $Id: lundump.c,v 1.17 1999/03/29 16:16:18 lhf Exp $ +** $Id: lundump.c,v 1.8 1999/03/30 20:29:34 roberto Exp roberto $ ** load bytecodes from files ** See Copyright Notice in lua.h */ @@ -134,7 +134,7 @@ static void LoadLocals (TProtoFunc* tf, ZIO* Z) tf->locvars[i].varname=NULL; } -static TProtoFunc* LoadFunction(ZIO* Z); +static TProtoFunc* LoadFunction (ZIO* Z); static void LoadConstants (TProtoFunc* tf, ZIO* Z) { @@ -224,7 +224,7 @@ static TProtoFunc* LoadChunk (ZIO* Z) ** load one chunk from a file or buffer ** return main if ok and NULL at EOF */ -TProtoFunc* luaU_undump1(ZIO* Z) +TProtoFunc* luaU_undump1 (ZIO* Z) { int c=zgetc(Z); if (c==ID_CHUNK) @@ -237,7 +237,7 @@ TProtoFunc* luaU_undump1(ZIO* Z) /* ** test number representation */ -void luaU_testnumber(void) +void luaU_testnumber (void) { if (sizeof(real)!=SIZEOF_NUMBER) luaL_verror("numbers have %d bytes; expected %d. see lundump.h", @@ -259,7 +259,7 @@ void luaU_testnumber(void) /* * handle constants that cannot happen */ -void luaU_badconstant(char* s, int i, TObject* o, TProtoFunc* tf) +void luaU_badconstant (char* s, int i, TObject* o, TProtoFunc* tf) { int t=ttype(o); char* name= (t>0 || t