summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-12 14:12:31 +0100
committerMax Kellermann <max@duempel.org>2014-12-12 14:12:31 +0100
commit7de684668bb0604bc2858269176fe55683b16d81 (patch)
treee325a754118df38496f7c19d7a3ba05d9db8e60e /src
parent4741d7bfe229b36f15379ca7eada908ae5fd0bce (diff)
sticker/Database: remove C-style (void)
Diffstat (limited to 'src')
-rw-r--r--src/sticker/StickerDatabase.cxx4
-rw-r--r--src/sticker/StickerDatabase.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/sticker/StickerDatabase.cxx b/src/sticker/StickerDatabase.cxx
index 93eaa900d..96a9a6889 100644
--- a/src/sticker/StickerDatabase.cxx
+++ b/src/sticker/StickerDatabase.cxx
@@ -149,7 +149,7 @@ sticker_global_init(Path path, Error &error)
}
void
-sticker_global_finish(void)
+sticker_global_finish()
{
if (sticker_db == nullptr)
/* not configured */
@@ -165,7 +165,7 @@ sticker_global_finish(void)
}
bool
-sticker_enabled(void)
+sticker_enabled()
{
return sticker_db != nullptr;
}
diff --git a/src/sticker/StickerDatabase.hxx b/src/sticker/StickerDatabase.hxx
index 8993489c4..949be6ebd 100644
--- a/src/sticker/StickerDatabase.hxx
+++ b/src/sticker/StickerDatabase.hxx
@@ -62,14 +62,14 @@ sticker_global_init(Path path, Error &error);
* Close the sticker database.
*/
void
-sticker_global_finish(void);
+sticker_global_finish();
/**
* Returns true if the sticker database is configured and available.
*/
gcc_const
bool
-sticker_enabled(void);
+sticker_enabled();
/**
* Returns one value from an object's sticker record. Returns an