examples: Fix some main() function prototypes

This commit is contained in:
Antonio Niño Díaz 2022-11-15 00:00:51 +00:00
parent 57fccc3ec7
commit e557225cce
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ void Draw3DScene(void)
NE_GetPolygonCount(), NE_GetVertexCount());
}
int main()
int main(void)
{
irqEnable(IRQ_HBLANK);
irqSet(IRQ_VBLANK, NE_VBLFunc);

View File

@ -20,7 +20,7 @@ void Draw3DScene(void)
NE_ModelDraw(Model);
}
int main()
int main(void)
{
irqEnable(IRQ_HBLANK);
irqSet(IRQ_VBLANK, NE_VBLFunc);

View File

@ -16,7 +16,7 @@ void Draw3DScene(void)
NE_2DDrawTexturedQuad(0, 0, 256, 256, 0, Material);
}
int main()
int main(void)
{
irqEnable(IRQ_HBLANK);
irqSet(IRQ_VBLANK, NE_VBLFunc);