summaryrefslogtreecommitdiff
path: root/src/linux
diff options
context:
space:
mode:
authorSteph Enders <smenders@gmail.com>2022-06-24 12:49:00 -0400
committerSteph Enders <smenders@gmail.com>2022-06-24 17:37:11 -0400
commit20076f7271e19ecc259014681ba733047bea4d9b (patch)
treee07dc114f224b0f689cdb618e7865420e9a03b2f /src/linux
parent2f2ed4c294fbce00b959032f2dcd80dd7981dd9b (diff)
Remove unnecessary typedef
Idk why I thought that was necessary to avoid: "struct Name" in every place? maybe its a C thing? IDR
Diffstat (limited to 'src/linux')
-rw-r--r--src/linux/res.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/linux/res.h b/src/linux/res.h
index 34ded54..3c61d1a 100644
--- a/src/linux/res.h
+++ b/src/linux/res.h
@@ -39,12 +39,9 @@ struct Res {
std::filesystem::path defaultsFile;
std::filesystem::path fontFile;
+};
-} typedef Res;
-
-inline const char* to_str(std::filesystem::path file) {
- return file.c_str();
-}
+inline const char *to_str(std::filesystem::path file) { return file.c_str(); }
inline Res get_resources() {
using namespace std::filesystem;
@@ -78,4 +75,6 @@ inline Res get_resources() {
return res;
}
+inline Res discover_levels() {}
+
#endif // DNG_RES_H \ No newline at end of file