sticker/Database: remove C-style (void)

This commit is contained in:
Max Kellermann 2014-12-12 14:12:31 +01:00
parent 4741d7bfe2
commit 7de684668b
2 changed files with 4 additions and 4 deletions

View File

@ -149,7 +149,7 @@ sticker_global_init(Path path, Error &error)
} }
void void
sticker_global_finish(void) sticker_global_finish()
{ {
if (sticker_db == nullptr) if (sticker_db == nullptr)
/* not configured */ /* not configured */
@ -165,7 +165,7 @@ sticker_global_finish(void)
} }
bool bool
sticker_enabled(void) sticker_enabled()
{ {
return sticker_db != nullptr; return sticker_db != nullptr;
} }

View File

@ -62,14 +62,14 @@ sticker_global_init(Path path, Error &error);
* Close the sticker database. * Close the sticker database.
*/ */
void void
sticker_global_finish(void); sticker_global_finish();
/** /**
* Returns true if the sticker database is configured and available. * Returns true if the sticker database is configured and available.
*/ */
gcc_const gcc_const
bool bool
sticker_enabled(void); sticker_enabled();
/** /**
* Returns one value from an object's sticker record. Returns an * Returns one value from an object's sticker record. Returns an