diff options
author | Ton Roosendaal <ton@blender.org> | 2004-07-27 01:20:42 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-07-27 01:20:42 +0400 |
commit | 519fb27ad5617358e5d99fd4d02330502ad2c37b (patch) | |
tree | 0292cdda43397bc672ac58a632744c43405b4014 /source/blender/imbuf | |
parent | ca6c0861cfa09ed60136f1ff34dbf2dc1678033f (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.
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 2 | ||||
-rw-r--r-- | source/blender/imbuf/intern/allocimbuf.c | 2 |
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; |