cogl: Add missing void to functions with no arguments

I.e. foo () -> foo (void).
This commit is contained in:
Jonas Ådahl 2019-01-20 11:38:06 +01:00
parent 54685091f1
commit c55004864d
4 changed files with 5 additions and 5 deletions

View File

@ -45,12 +45,12 @@
#define FALSE 0
#endif
static GLUvertex *allocVertex()
static GLUvertex *allocVertex(void)
{
return (GLUvertex *)memAlloc( sizeof( GLUvertex ));
}
static GLUface *allocFace()
static GLUface *allocFace(void)
{
return (GLUface *)memAlloc( sizeof( GLUface ));
}

View File

@ -45,7 +45,7 @@ void gluBeginPolygon (GLUtesselator* tess);
void gluDeleteTess (GLUtesselator* tess);
void gluEndPolygon (GLUtesselator* tess);
typedef void (_GLUfuncptr)();
typedef void (_GLUfuncptr)(void);
void gluGetTessProperty (GLUtesselator* tess, GLenum which, double* data);

View File

@ -360,7 +360,7 @@ struct _CoglContext
};
CoglContext *
_cogl_context_get_default ();
_cogl_context_get_default (void);
const CoglWinsysVtable *
_cogl_context_get_winsys (CoglContext *context);

View File

@ -177,7 +177,7 @@ paint (TestState *state)
}
static void
validate_result ()
validate_result (void)
{
check_block (0, 0, 0x8 /* bottom right */);
check_block (1, 0, 0xf /* all of them */);