wok-next view memtest/stuff/memtest86+-5.01-io.patch @ rev 17300
Update weechat to 1.0.1 (needs further testing, if unstable somehow then
downgrade to at most 0.4.3).
downgrade to at most 0.4.3).
author | necrophcodr <tcg.thegamer@gmail.com> |
---|---|
date | Thu Oct 30 23:27:48 2014 +0100 (2014-10-30) |
parents | |
children |
line source
1 --- memtest86+-5.01/io.h~ 2013-08-10 02:01:58.000000000 +0000
2 +++ memtest86+-5.01/io.h 2014-01-08 01:29:12.404465515 +0000
3 @@ -31,7 +31,7 @@
4 */
6 #define __OUT1(s,x) \
7 -extern inline void __out##s(unsigned x value, unsigned short port) {
8 +static inline void __out##s(unsigned x value, unsigned short port) {
10 #define __OUT2(s,s1,s2) \
11 __asm__ __volatile__ ("out" #s " %" s1 "0,%" s2 "1"
12 @@ -43,7 +43,7 @@
13 __OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); SLOW_DOWN_IO; }
15 #define __IN1(s) \
16 -extern inline RETURN_TYPE __in##s(unsigned short port) { RETURN_TYPE _v;
17 +static inline RETURN_TYPE __in##s(unsigned short port) { RETURN_TYPE _v;
19 #define __IN2(s,s1,s2) \
20 __asm__ __volatile__ ("in" #s " %" s2 "1,%" s1 "0"