mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
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
|
||||
_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)
|
||||
|
Loading…
Reference in New Issue
Block a user