Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2004-07-27 01:20:42 +0400
committerTon Roosendaal <ton@blender.org>2004-07-27 01:20:42 +0400
commit519fb27ad5617358e5d99fd4d02330502ad2c37b (patch)
tree0292cdda43397bc672ac58a632744c43405b4014
parentca6c0861cfa09ed60136f1ff34dbf2dc1678033f (diff)
Removed 'static' declaration from addzbufImBuf(). This is an exported
function, static is for local functions... Reason was it gave loads of warnings in compiling.
-rw-r--r--source/blender/imbuf/IMB_imbuf.h2
-rw-r--r--source/blender/imbuf/intern/allocimbuf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h
index b5b97034769..7f7b2b08a56 100644
--- a/source/blender/imbuf/IMB_imbuf.h
+++ b/source/blender/imbuf/IMB_imbuf.h
@@ -184,7 +184,7 @@ struct ImBuf *IMB_dupImBuf(struct ImBuf *ibuf1);
*
* @attention Defined in allocimbuf.c
*/
-static short addzbufImBuf(struct ImBuf * ibuf);
+short addzbufImBuf(struct ImBuf * ibuf);
/**
*
diff --git a/source/blender/imbuf/intern/allocimbuf.c b/source/blender/imbuf/intern/allocimbuf.c
index 008300fc67a..0abf9d5c91a 100644
--- a/source/blender/imbuf/intern/allocimbuf.c
+++ b/source/blender/imbuf/intern/allocimbuf.c
@@ -121,7 +121,7 @@ void IMB_freeImBuf(struct ImBuf * ibuf)
}
}
-static short addzbufImBuf(struct ImBuf * ibuf)
+short addzbufImBuf(struct ImBuf * ibuf)
{
int size;