Commit 7de68466 authored by Max Kellermann's avatar Max Kellermann

sticker/Database: remove C-style (void)

parent 4741d7bf
...@@ -149,7 +149,7 @@ sticker_global_init(Path path, Error &error) ...@@ -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) ...@@ -165,7 +165,7 @@ sticker_global_finish(void)
} }
bool bool
sticker_enabled(void) sticker_enabled()
{ {
return sticker_db != nullptr; return sticker_db != nullptr;
} }
......
...@@ -62,14 +62,14 @@ sticker_global_init(Path path, Error &error); ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment