comparison src/video/SDL_stretch.c @ 4472:791b3256fb22

Mostly cleaned up warnings with -Wmissing-prototypes
author Sam Lantinga <slouken@libsdl.org>
date Sat, 26 Jun 2010 08:56:48 -0700
parents f7b03b6838cb
children af1d018ebbe6
comparison
equal deleted inserted replaced
4471:11cedc036ca1 4472:791b3256fb22
149 } 149 }
150 150
151 #endif /* USE_ASM_STRETCH */ 151 #endif /* USE_ASM_STRETCH */
152 152
153 #define DEFINE_COPY_ROW(name, type) \ 153 #define DEFINE_COPY_ROW(name, type) \
154 void name(type *src, int src_w, type *dst, int dst_w) \ 154 static void name(type *src, int src_w, type *dst, int dst_w) \
155 { \ 155 { \
156 int i; \ 156 int i; \
157 int pos, inc; \ 157 int pos, inc; \
158 type pixel = 0; \ 158 type pixel = 0; \
159 \ 159 \
173 DEFINE_COPY_ROW(copy_row2, Uint16) 173 DEFINE_COPY_ROW(copy_row2, Uint16)
174 DEFINE_COPY_ROW(copy_row4, Uint32) 174 DEFINE_COPY_ROW(copy_row4, Uint32)
175 /* *INDENT-ON* */ 175 /* *INDENT-ON* */
176 176
177 /* The ASM code doesn't handle 24-bpp stretch blits */ 177 /* The ASM code doesn't handle 24-bpp stretch blits */
178 void 178 static void
179 copy_row3(Uint8 * src, int src_w, Uint8 * dst, int dst_w) 179 copy_row3(Uint8 * src, int src_w, Uint8 * dst, int dst_w)
180 { 180 {
181 int i; 181 int i;
182 int pos, inc; 182 int pos, inc;
183 Uint8 pixel[3] = { 0, 0, 0 }; 183 Uint8 pixel[3] = { 0, 0, 0 };