sticker/Database: remove C-style (void)
This commit is contained in:
src/sticker
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user