diff --git a/core/Sconscript b/core/Sconscript index 69969138..3e0bc1c6 100644 --- a/core/Sconscript +++ b/core/Sconscript @@ -3,7 +3,6 @@ Import("env") res = Glob("*.c") res += SConscript("tags/Sconscript") -res += SConscript("containers/Sconscript") res += SConscript("playlists/Sconscript") env.UsePackage("gstreamer-1.0") diff --git a/core/containers/Sconscript b/core/containers/Sconscript deleted file mode 100644 index 23f622a0..00000000 --- a/core/containers/Sconscript +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/python -res = Glob("*.c") -Return("res") diff --git a/core/containers/database.c b/core/database.c similarity index 99% rename from core/containers/database.c rename to core/database.c index 96f74e65..b83709d8 100644 --- a/core/containers/database.c +++ b/core/database.c @@ -1,7 +1,7 @@ /* * Copyright 2013 (c) Anna Schumaker. */ -#include +#include #include #define DB_ENTRY_AT(db, index) \ diff --git a/include/core/containers/database.h b/include/core/database.h similarity index 100% rename from include/core/containers/database.h rename to include/core/database.h diff --git a/include/core/tags/album.h b/include/core/tags/album.h index 82a80eae..1af0f1d4 100644 --- a/include/core/tags/album.h +++ b/include/core/tags/album.h @@ -14,7 +14,7 @@ #ifndef OCARINA_CORE_TAGS_ALBUM_H #define OCARINA_CORE_TAGS_ALBUM_H -#include +#include #include struct album { diff --git a/include/core/tags/artist.h b/include/core/tags/artist.h index e5a0dfff..cc94aaad 100644 --- a/include/core/tags/artist.h +++ b/include/core/tags/artist.h @@ -13,7 +13,7 @@ #ifndef OCARINA_CORE_TAGS_ARTIST_H #define OCARINA_CORE_TAGS_ARTIST_H -#include +#include struct artist { gchar *ar_name; /* This artist's name. */ diff --git a/include/core/tags/genre.h b/include/core/tags/genre.h index 5660e7ec..0301cb53 100644 --- a/include/core/tags/genre.h +++ b/include/core/tags/genre.h @@ -13,7 +13,7 @@ #ifndef OCARINA_CORE_TAGS_GENRE_H #define OCARINA_CORE_TAGS_GENRE_H -#include +#include struct genre { gchar *ge_name; /* This genre's name. */ diff --git a/include/core/tags/library.h b/include/core/tags/library.h index c65b3c05..e9e1a242 100644 --- a/include/core/tags/library.h +++ b/include/core/tags/library.h @@ -13,7 +13,7 @@ #ifndef OCARINA_CORE_TAGS_LIBRARY_H #define OCARINA_CORE_TAGS_LIBRARY_H -#include +#include struct library { unsigned int li_size; /* This library's track count. */ diff --git a/include/core/tags/track.h b/include/core/tags/track.h index e62e55fb..d7bb215a 100644 --- a/include/core/tags/track.h +++ b/include/core/tags/track.h @@ -20,7 +20,7 @@ #ifndef OCARINA_CORE_TAGS_TRACK_H #define OCARINA_CORE_TAGS_TRACK_H -#include +#include #include #include #include diff --git a/tests/core/.gitignore b/tests/core/.gitignore index 0af7e569..0c33f740 100644 --- a/tests/core/.gitignore +++ b/tests/core/.gitignore @@ -3,7 +3,7 @@ string file date idle -containers/database +database filter tags/artist tags/album diff --git a/tests/core/Sconscript b/tests/core/Sconscript index 57c04c06..cb2a5b53 100644 --- a/tests/core/Sconscript +++ b/tests/core/Sconscript @@ -29,8 +29,7 @@ res += [ CoreTest("string") ] res += [ CoreTest("file") ] res += [ CoreTest("date") ] res += [ CoreTest("idle") ] - -res += SConscript("containers/Sconscript") +res += [ CoreTest("database") ] res += [ CoreTest("filter") ] res += SConscript("tags/Sconscript") diff --git a/tests/core/containers/Sconscript b/tests/core/containers/Sconscript deleted file mode 100644 index 85cb57d6..00000000 --- a/tests/core/containers/Sconscript +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/python -Import("CoreTest", "testing_group") - -res = [] - -def ContainerTest(name): - run = CoreTest("containers/%s" % name) - Alias("tests/core/containers", run) - if len(res) > 0 and testing_group([ "tests/core/containers" ]): - Depends(run, res[-1]) - return run - -res += [ ContainerTest("database") ] - -Return("res") diff --git a/tests/core/containers/database.c b/tests/core/database.c similarity index 99% rename from tests/core/containers/database.c rename to tests/core/database.c index 61499ab4..1d3b447a 100644 --- a/tests/core/containers/database.c +++ b/tests/core/database.c @@ -2,7 +2,7 @@ * Copyright 2014 (c) Anna Schumaker. * Test a Database */ -#include +#include #include #include #include