analysis: Make all function declarations be protoypes
It's valid C to declare a function omitting it prototype, but it seems to be a good practise to always declare a function with its corresponding prototype.
This commit is contained in:
parent
58b0028b52
commit
338a37d468
@ -167,7 +167,7 @@ cogl_create_context (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_cogl_destroy_context ()
|
_cogl_destroy_context (void)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (_context == NULL)
|
if (_context == NULL)
|
||||||
@ -217,7 +217,7 @@ _cogl_destroy_context ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
CoglContext *
|
CoglContext *
|
||||||
_cogl_context_get_default ()
|
_cogl_context_get_default (void)
|
||||||
{
|
{
|
||||||
/* Create if doesn't exist yet */
|
/* Create if doesn't exist yet */
|
||||||
if (_context == NULL)
|
if (_context == NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user