add const to match new signature

This commit is contained in:
ehouse 2005-07-30 02:44:42 +00:00
parent dcb5783924
commit 1b40b1956e

View file

@ -116,7 +116,7 @@ static Boolean mainViewHandleEvent( EventPtr event );
static UInt16 romVersion( void ); static UInt16 romVersion( void );
static Boolean handleHintRequest( PalmAppGlobals* globals ); static Boolean handleHintRequest( PalmAppGlobals* globals );
static XP_S16 palm_send( XP_U8* buf, XP_U16 len, CommsAddrRec* addr, static XP_S16 palm_send( XP_U8* buf, XP_U16 len, const CommsAddrRec* addr,
void* closure ); void* closure );
static void palm_send_on_close( XWStreamCtxt* stream, void* closure ); static void palm_send_on_close( XWStreamCtxt* stream, void* closure );
@ -3458,7 +3458,7 @@ palm_send_on_close( XWStreamCtxt* stream, void* closure )
} /* palm_send_on_close */ } /* palm_send_on_close */
static XP_S16 static XP_S16
palm_send( XP_U8* buf, XP_U16 len, CommsAddrRec* addr, void* closure ) palm_send( XP_U8* buf, XP_U16 len, const CommsAddrRec* addr, void* closure )
{ {
PalmAppGlobals* globals = (PalmAppGlobals*)closure; PalmAppGlobals* globals = (PalmAppGlobals*)closure;