mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
cogl: Add missing void
to functions with no arguments
I.e. foo () -> foo (void).
This commit is contained in:
parent
54685091f1
commit
c55004864d
@ -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 ));
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
@ -360,7 +360,7 @@ struct _CoglContext
|
||||
};
|
||||
|
||||
CoglContext *
|
||||
_cogl_context_get_default ();
|
||||
_cogl_context_get_default (void);
|
||||
|
||||
const CoglWinsysVtable *
|
||||
_cogl_context_get_winsys (CoglContext *context);
|
||||
|
@ -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 */);
|
||||
|
Loading…
Reference in New Issue
Block a user