diff options
Diffstat (limited to 'target/linux/ar7/files/include/asm-mips')
-rw-r--r-- | target/linux/ar7/files/include/asm-mips/ar7/prom.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar7/files/include/asm-mips/ar7/prom.h b/target/linux/ar7/files/include/asm-mips/ar7/prom.h index 2f3f67fe6..55f5939db 100644 --- a/target/linux/ar7/files/include/asm-mips/ar7/prom.h +++ b/target/linux/ar7/files/include/asm-mips/ar7/prom.h @@ -19,8 +19,8 @@ #ifndef __PROM_H__ #define __PROM_H__ -extern char *prom_getenv(char *name); -extern void prom_printf(char *fmt, ...); +extern char *prom_getenv(const char *name); +extern void prom_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); extern void prom_meminit(void); #endif /* __PROM_H__ */ |