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:
Damien Lespiau 2010-05-27 12:18:29 +01:00
parent 58b0028b52
commit 338a37d468

View File

@ -167,7 +167,7 @@ cogl_create_context (void)
}
void
_cogl_destroy_context ()
_cogl_destroy_context (void)
{
if (_context == NULL)
@ -217,7 +217,7 @@ _cogl_destroy_context ()
}
CoglContext *
_cogl_context_get_default ()
_cogl_context_get_default (void)
{
/* Create if doesn't exist yet */
if (_context == NULL)