summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-29 23:20:04 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-29 23:20:04 +0000
commit71fb6f282be9250611cd0f628a4ac438afea2b30 (patch)
treec098dc9b3066211db7c82a789ca1df3c010f97b8 /amiga
parente08872d7b31ecb1f3ddc1c4c856f900a585034df (diff)
downloadnetsurf-71fb6f282be9250611cd0f628a4ac438afea2b30.tar.gz
netsurf-71fb6f282be9250611cd0f628a4ac438afea2b30.tar.bz2
Sprinkle some _t suffixes around
svn path=/trunk/netsurf/; revision=11152
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/gui.h2
-rwxr-xr-xamiga/tree.c14
-rwxr-xr-xamiga/tree.h2
3 files changed, 9 insertions, 9 deletions
diff --git a/amiga/gui.h b/amiga/gui.h
index a567d88a8..6ebd5a45b 100755
--- a/amiga/gui.h
+++ b/amiga/gui.h
@@ -144,6 +144,6 @@ struct MsgPort *sport;
bool win_destroyed;
struct browser_window *curbw;
struct gui_globals browserglob;
-uint32 ami_appid;
+uint32_t ami_appid;
BOOL ami_autoscroll;
#endif
diff --git a/amiga/tree.c b/amiga/tree.c
index f1d35b2c5..94b432800 100755
--- a/amiga/tree.c
+++ b/amiga/tree.c
@@ -71,8 +71,8 @@ struct treeview_window {
char *menu_name[AMI_TREE_MENU_ITEMS];
struct tree *tree;
struct Hook scrollerhook;
- uint32 key_state;
- uint32 mouse_state;
+ uint32_t key_state;
+ uint32_t mouse_state;
int drag_x;
int drag_y;
struct timeval lastclick;
@@ -97,7 +97,7 @@ const struct treeview_table ami_tree_callbacks = {
.get_window_dimensions = ami_tree_get_window_dimensions
};
-struct treeview_window *ami_tree_create(uint8 flags,
+struct treeview_window *ami_tree_create(uint8_t flags,
struct sslcert_session_data *ssl_data)
{
struct treeview_window *twin;
@@ -712,9 +712,9 @@ void ami_tree_close(struct treeview_window *twin)
void ami_tree_update_quals(struct treeview_window *twin)
{
- uint32 quals = 0;
+ uint32_t quals = 0;
- GetAttr(WINDOW_Qualifier, twin->objects[OID_MAIN], (uint32 *)&quals);
+ GetAttr(WINDOW_Qualifier, twin->objects[OID_MAIN], (uint32_t *)&quals);
twin->key_state = 0;
@@ -738,7 +738,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
{
/* return TRUE if window destroyed */
ULONG class,result,storage = 0;
- uint16 code;
+ uint16_t code;
struct MenuItem *item;
ULONG menunum=0,itemnum=0,subnum=0;
int xs, ys, x, y;
@@ -994,7 +994,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
ASLFR_InitialFile,"tree_export.html",
TAG_DONE))
{
- strlcpy(&fname,savereq->fr_Drawer,1024);
+ strlcpy(fname,savereq->fr_Drawer,1024);
AddPart(fname,savereq->fr_File,1024);
ami_update_pointer(twin->win,GUI_POINTER_WAIT);
if(twin->type == AMI_TREE_HISTORY)
diff --git a/amiga/tree.h b/amiga/tree.h
index 0a0c29e87..600dd401f 100755
--- a/amiga/tree.h
+++ b/amiga/tree.h
@@ -39,7 +39,7 @@ enum
AMI_TREE_SSLCERT
};
-struct treeview_window *ami_tree_create(uint8 flags,
+struct treeview_window *ami_tree_create(uint8_t flags,
struct sslcert_session_data *ssl_data);
void ami_tree_destroy(struct treeview_window *twin);
struct tree *ami_tree_get_tree(struct treeview_window *twin);