mesa: move StoreTexImageFunc typedef to .c file
authorBrian Paul <brianp@vmware.com>
Tue, 29 Sep 2009 03:55:47 +0000 (21:55 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 29 Sep 2009 03:55:47 +0000 (21:55 -0600)
src/mesa/main/texstore.c
src/mesa/main/texstore.h

index e8c3e23..ca298bb 100644 (file)
@@ -77,6 +77,12 @@ enum {
 
 
 /**
+ * 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.
  */
@@ -3250,7 +3256,7 @@ texstore_funcs[MESA_FORMAT_COUNT] =
 /**
  * Return the StoreTexImageFunc pointer to store an image in the given format.
  */
-StoreTexImageFunc
+static StoreTexImageFunc
 _mesa_get_texstore_func(gl_format format)
 {
    GLuint i;
index ad47735..4a217df 100644 (file)
        const struct gl_pixelstore_attrib *srcPacking
 
 
-
-/**
- * Texture image storage function.
- */
-typedef GLboolean (*StoreTexImageFunc)(TEXSTORE_PARAMS);
+extern GLboolean
+_mesa_texstore(TEXSTORE_PARAMS);
 
 
 extern GLchan *
@@ -148,13 +145,6 @@ _mesa_store_texsubimage3d(GLcontext *ctx, GLenum target, GLint level,
                           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,