# HG changeset patch # User diego # Date 1306266427 0 # Node ID 320890c90a8add59f4bc65b415bd697492124f41 # Parent f055dbc340f6700b8003460ed0964cc5058fc652 vo_direct3d: Mark function only used within the file as static. This fixes the warning: libvo/vo_direct3d.c:984:6: warning: no previous prototype for 'vo_draw_alpha_l8a8' diff -r f055dbc340f6 -r 320890c90a8a libvo/vo_direct3d.c --- a/libvo/vo_direct3d.c Tue May 24 19:28:24 2011 +0000 +++ b/libvo/vo_direct3d.c Tue May 24 19:47:07 2011 +0000 @@ -981,8 +981,9 @@ * These values are then inverted again with the texture filter D3DBLEND_INVSRCALPHA */ -void vo_draw_alpha_l8a8(int w, int h, unsigned char* src, unsigned char *srca, - int srcstride, unsigned char* dstbase, int dststride) +static void vo_draw_alpha_l8a8(int w, int h, unsigned char* src, + unsigned char *srca, int srcstride, + unsigned char* dstbase, int dststride) { int y; for (y = 0; y < h; y++) {