summaryrefslogtreecommitdiff
path: root/new/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'new/ui.h')
-rw-r--r--new/ui.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/new/ui.h b/new/ui.h
index a692585..0625bd0 100644
--- a/new/ui.h
+++ b/new/ui.h
@@ -5,7 +5,6 @@
#include <stdint.h>
-typedef struct uiInitError uiInitError;
typedef struct uiInitOptions uiInitOptions;
// TODO note that should be initialized to zero
@@ -17,9 +16,8 @@ struct uiInitOptions {
int debugLogAllocations;
};
-uiInitError *uiInit(uiInitOptions *);
-const char *uiInitErrorMessage(uiInitError *);
-void uiInitErrorFree(uiInitError *);
+const char *uiInit(uiInitOptions *);
+void uiFreeInitError(const char *);
void uiMain(void);
void uiQuit(void);