Parcourir la source

rv32/compiler.h: fix typo in __constfunc definition

Fix a missing underscore in the definition of __constfunc.
H. Peter Anvin il y a 3 ans
Parent
commit
0380f985d5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      rv32/compiler.h

+ 1 - 1
rv32/compiler.h

@@ -64,7 +64,7 @@ typedef union xcptr {
 #define __unused	__attribute__((__unused__))
 #define __must_inline	__attribute__((__always_inline__))
 #define __noinline	__attribute__ ((__noinline__))
-#define __constfunc	__attribute__((__const__)
+#define __constfunc	__attribute__((__const__))
 #define __purefunc	__attribute__((__pure__))
 
 #define __fmt_printf(fstr,farg)	__attribute__((__format__(__printf__,fstr,farg)))