History

postprocess: prefetch* dont change anything, thus their arguments should be const

Michael Niedermayer committed 12 years ago

Commit bd689091 parent fe5093a1 file · +4 −4Browse files

Unified · Split

libpostproc/postprocess.c+4−4
@@ -166,28 +166,28 @@ static const char * const replaceTable[]= · 165 unmodified lines
166166
167167
168168 #if ARCH_X86 && HAVE_INLINE_ASM
169−static inline void prefetchnta(void *p)
169+static inline void prefetchnta(const void *p)
170170 {
171171 __asm__ volatile( "prefetchnta (%0)\n\t"
172172 : : "r" (p)
173173 );
174174 }
175175
176−static inline void prefetcht0(void *p)
176+static inline void prefetcht0(const void *p)
177177 {
178178 __asm__ volatile( "prefetcht0 (%0)\n\t"
179179 : : "r" (p)
180180 );
181181 }
182182
183−static inline void prefetcht1(void *p)
183+static inline void prefetcht1(const void *p)
184184 {
185185 __asm__ volatile( "prefetcht1 (%0)\n\t"
186186 : : "r" (p)
187187 );
188188 }
189189
190−static inline void prefetcht2(void *p)
190+static inline void prefetcht2(const void *p)
191191 {
192192 __asm__ volatile( "prefetcht2 (%0)\n\t"
193193 : : "r" (p)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t