};
+/**
+ * Texture image storage function.
+ */
+typedef GLboolean (*StoreTexImageFunc)(TEXSTORE_PARAMS);
+
+
/**
* Return GL_TRUE if the given image format is one that be converted
* to another format by swizzling.
/**
* Return the StoreTexImageFunc pointer to store an image in the given format.
*/
-StoreTexImageFunc
+static StoreTexImageFunc
_mesa_get_texstore_func(gl_format format)
{
GLuint i;
const struct gl_pixelstore_attrib *srcPacking
-
-/**
- * Texture image storage function.
- */
-typedef GLboolean (*StoreTexImageFunc)(TEXSTORE_PARAMS);
+extern GLboolean
+_mesa_texstore(TEXSTORE_PARAMS);
extern GLchan *
struct gl_texture_image *texImage);
-extern StoreTexImageFunc
-_mesa_get_texstore_func(gl_format format);
-
-extern GLboolean
-_mesa_texstore(TEXSTORE_PARAMS);
-
-
extern void
_mesa_store_compressed_teximage1d(GLcontext *ctx, GLenum target, GLint level,
GLint internalFormat,