aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-29 22:17:18 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-29 22:17:18 +0200
commit9fd196717310ad8feba546c93fb87c7123b3cec9 (patch)
tree81a8328db5f9c75d6a447b4b8269e4d5067ef9f4
parent4f0f1a455a4532589fcdbeddeab3041c48143d8e (diff)
downloadcherry-9fd196717310ad8feba546c93fb87c7123b3cec9.tar.gz
cherry-9fd196717310ad8feba546c93fb87c7123b3cec9.zip
Clean up src/cherry.c
-rw-r--r--src/cherry.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/cherry.c b/src/cherry.c
index a689fac..88a4e0b 100644
--- a/src/cherry.c
+++ b/src/cherry.c
@@ -27,15 +27,6 @@
#include <stdlib.h>
#include <string.h>
-CherryApplication *cherry_application_new(const char *name)
-{
- CherryApplication *application =
- (CherryApplication *) malloc(sizeof(CherryApplication));
- application->name = strdup(name);
-
- return application;
-}
-
int cherry_application_run()
{
#if defined(WIN32) || defined(_WIN64)
@@ -47,4 +38,5 @@ int cherry_application_run()
return msg.wParam;
#endif
+ return 0;
}