diff --git a/lib/bsp/standalone/src/cortexa53/xil_printf.c b/lib/bsp/standalone/src/cortexa53/xil_printf.c index cc10c957..8700d9dc 100644 --- a/lib/bsp/standalone/src/cortexa53/xil_printf.c +++ b/lib/bsp/standalone/src/cortexa53/xil_printf.c @@ -179,7 +179,7 @@ static s32 getnum( charptr* linep) /* void esp_printf( const func_ptr f_ptr, const charptr ctrl1, ...) */ -void xil_printf( char8 *ctrl1, ...) +void xil_printf( const char8 *ctrl1, ...) { s32 Check; s32 long_flag; diff --git a/lib/bsp/standalone/src/cortexa53/xil_printf.h b/lib/bsp/standalone/src/cortexa53/xil_printf.h index 6c1e1507..2be5c573 100644 --- a/lib/bsp/standalone/src/cortexa53/xil_printf.h +++ b/lib/bsp/standalone/src/cortexa53/xil_printf.h @@ -32,7 +32,7 @@ typedef s32 (*func_ptr)(int c); /* */ -void xil_printf( char8 *ctrl1, ...); +void xil_printf( const char8 *ctrl1, ...); void print( const char8 *ptr); extern void outbyte (char8 c); extern char8 inbyte(void); diff --git a/lib/bsp/standalone/src/cortexa9/xil_printf.c b/lib/bsp/standalone/src/cortexa9/xil_printf.c index 701025b3..bfd25997 100644 --- a/lib/bsp/standalone/src/cortexa9/xil_printf.c +++ b/lib/bsp/standalone/src/cortexa9/xil_printf.c @@ -186,7 +186,7 @@ static s32 getnum( charptr* linep) /* void esp_printf( const func_ptr f_ptr, const charptr ctrl1, ...) */ -void xil_printf( char8 *ctrl1, ...) +void xil_printf( const char8 *ctrl1, ...) { s32 Check; s32 long_flag; diff --git a/lib/bsp/standalone/src/cortexa9/xil_printf.h b/lib/bsp/standalone/src/cortexa9/xil_printf.h index 6c1e1507..2be5c573 100644 --- a/lib/bsp/standalone/src/cortexa9/xil_printf.h +++ b/lib/bsp/standalone/src/cortexa9/xil_printf.h @@ -32,7 +32,7 @@ typedef s32 (*func_ptr)(int c); /* */ -void xil_printf( char8 *ctrl1, ...); +void xil_printf( const char8 *ctrl1, ...); void print( const char8 *ptr); extern void outbyte (char8 c); extern char8 inbyte(void); diff --git a/lib/bsp/standalone/src/cortexr5/xil_printf.c b/lib/bsp/standalone/src/cortexr5/xil_printf.c index 701025b3..bfd25997 100644 --- a/lib/bsp/standalone/src/cortexr5/xil_printf.c +++ b/lib/bsp/standalone/src/cortexr5/xil_printf.c @@ -186,7 +186,7 @@ static s32 getnum( charptr* linep) /* void esp_printf( const func_ptr f_ptr, const charptr ctrl1, ...) */ -void xil_printf( char8 *ctrl1, ...) +void xil_printf( const char8 *ctrl1, ...) { s32 Check; s32 long_flag; diff --git a/lib/bsp/standalone/src/cortexr5/xil_printf.h b/lib/bsp/standalone/src/cortexr5/xil_printf.h index 6c1e1507..2be5c573 100644 --- a/lib/bsp/standalone/src/cortexr5/xil_printf.h +++ b/lib/bsp/standalone/src/cortexr5/xil_printf.h @@ -32,7 +32,7 @@ typedef s32 (*func_ptr)(int c); /* */ -void xil_printf( char8 *ctrl1, ...); +void xil_printf( const char8 *ctrl1, ...); void print( const char8 *ptr); extern void outbyte (char8 c); extern char8 inbyte(void);