From: johanknol Date: Sun, 17 Jun 2001 12:56:50 +0000 (+0000) Subject: _naked now survives external declartions X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=515cc57566798ca220e38a9af3d051e71b430ed0;p=fw%2Fsdcc _naked now survives external declartions git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@901 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/device/include/string.h b/device/include/string.h index 3f3f5021..ca84ef22 100644 --- a/device/include/string.h +++ b/device/include/string.h @@ -77,7 +77,7 @@ extern int memcmp (void _generic *, void _generic *, int ) ; extern void _generic *memset (void _generic *, unsigned char , int ) ; #if SDCC_ds390 -extern void _xdata *memcpyx(void _xdata *, void _xdata *, int); +extern void _xdata *memcpyx(void _xdata *, void _xdata *, int) _naked; #endif #endif diff --git a/device/include/tinibios.h b/device/include/tinibios.h index 07a4aac7..e52c7fe7 100755 --- a/device/include/tinibios.h +++ b/device/include/tinibios.h @@ -94,6 +94,6 @@ unsigned char _sdcc_external_startup(void); void Serial0IrqHandler (void) interrupt 4; void Serial1IrqHandler (void) interrupt 7; void ClockInit(); -void ClockIrqHandler (void) interrupt 1; +void ClockIrqHandler (void) interrupt 1 _naked; #endif TINIBIOS_H