summaryrefslogtreecommitdiff
path: root/src/stlink-gui/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stlink-gui/gui.h')
-rw-r--r--src/stlink-gui/gui.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/stlink-gui/gui.h b/src/stlink-gui/gui.h
index b3d5dff..2d7f319 100644
--- a/src/stlink-gui/gui.h
+++ b/src/stlink-gui/gui.h
@@ -1,6 +1,7 @@
-#ifndef __STLINK_GUI_H__
-#define __STLINK_GUI_H__
+#ifndef GUI_H
+#define GUI_H
+#include <stdint.h>
#include <glib-object.h>
#define STLINK_TYPE_GUI (stlink_gui_get_type())
@@ -87,6 +88,6 @@ struct _STlinkGUIClass {
};
GType stlink_gui_get_type(void);
-int export_to_file(const char*filename, const struct mem_t flash_mem);
+int32_t export_to_file(const char*filename, const struct mem_t flash_mem);
-#endif // __STLINK_GUI_H__
+#endif // GUI_H