core/tags: Move tags_deinit() out of the tags namespace
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
eb349c60e9
commit
800aeda633
|
@ -19,7 +19,7 @@ void tags_init()
|
|||
track_db_init();
|
||||
}
|
||||
|
||||
void tags :: deinit()
|
||||
void tags_deinit()
|
||||
{
|
||||
track_db_deinit();
|
||||
library_db_deinit();
|
||||
|
|
|
@ -4,18 +4,11 @@
|
|||
#ifndef OCARINA_CORE_TAGS_TAGS_H
|
||||
#define OCARINA_CORE_TAGS_TAGS_H
|
||||
|
||||
/**
|
||||
* Namespace for creating and accessing tags.
|
||||
*/
|
||||
namespace tags
|
||||
{
|
||||
|
||||
void deinit();
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* Called to initialize and read all databases from disk. */
|
||||
void tags_init();
|
||||
|
||||
/* Called to clean up all databases. */
|
||||
void tags_deinit();
|
||||
|
||||
#endif /* OCARINA_CORE_TAGS_TAGS_H */
|
||||
|
|
|
@ -216,7 +216,7 @@ static void test_track_db()
|
|||
test_equal(track_db_get()->db_size, 0);
|
||||
|
||||
db_deinit(&track_db);
|
||||
tags :: deinit();
|
||||
tags_deinit();
|
||||
filter_deinit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue