diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-11 04:00:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-11 04:00:27 +0400 |
commit | 0c50bedd9c960763d3e8e695b63957a964565be0 (patch) | |
tree | cd155d7f484052fcc959f5b74b5b413a998889a3 /source | |
parent | 7f34653f59ad3f7bed75eb9a36aa6ed928eef181 (diff) |
code cleanup: remove unused externs.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/animation/anim_draw.c | 3 | ||||
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 4 | ||||
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_edit.c | 5 | ||||
-rw-r--r-- | source/blender/imbuf/intern/indexer.c | 8 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 7 | ||||
-rw-r--r-- | source/creator/creator.c | 3 |
6 files changed, 2 insertions, 28 deletions
diff --git a/source/blender/editors/animation/anim_draw.c b/source/blender/editors/animation/anim_draw.c index 1ef02f46000..bab341ae70b 100644 --- a/source/blender/editors/animation/anim_draw.c +++ b/source/blender/editors/animation/anim_draw.c @@ -51,9 +51,6 @@ #include "UI_resources.h" #include "UI_view2d.h" -/* XXX */ -extern void ui_rasterpos_safe(float x, float y, float aspect); - /* *************************************************** */ /* TIME CODE FORMATTING */ diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index 64af846a79b..4660b7703d8 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -79,10 +79,6 @@ #include "node_intern.h" - -// XXX interface.h -extern void ui_dropshadow(rctf *rct, float radius, float aspect, int select); - /* ****************** SOCKET BUTTON DRAW FUNCTIONS ***************** */ static void node_sync_cb(bContext *UNUSED(C), void *snode_v, void *node_v) diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c index 2815297eb13..049e11a4f6a 100644 --- a/source/blender/editors/space_sequencer/sequencer_edit.c +++ b/source/blender/editors/space_sequencer/sequencer_edit.c @@ -75,9 +75,6 @@ /* own include */ #include "sequencer_intern.h" -static int okee(const char *UNUSED(dummy)) {return 0;} - - /* XXX */ /* RNA Enums, used in multiple files */ EnumPropertyItem sequencer_prop_effect_types[] = { @@ -866,7 +863,7 @@ static void UNUSED_FUNCTION(touch_seq_files)(Scene *scene) if(ed==NULL) return; - if(okee("Touch and print selected movies")==0) return; + // XXX25 if(okee("Touch and print selected movies")==0) return; WM_cursor_wait(1); diff --git a/source/blender/imbuf/intern/indexer.c b/source/blender/imbuf/intern/indexer.c index 7a2977da473..cf354371ddc 100644 --- a/source/blender/imbuf/intern/indexer.c +++ b/source/blender/imbuf/intern/indexer.c @@ -61,14 +61,6 @@ static int tc_types[] = { IMB_TC_RECORD_RUN, #define INDEX_FILE_VERSION 1 -/* ---------------------------------------------------------------------- - - special indexers - ---------------------------------------------------------------------- - */ - -extern void IMB_indexer_dv_new(anim_index_builder * idx); - - /* ---------------------------------------------------------------------- - time code index functions ---------------------------------------------------------------------- */ diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index f5dec4dbcd3..9656a45509c 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -317,9 +317,6 @@ static void free_openrecent(void) /* bad stuff*/ -extern wchar_t *copybuf; -extern wchar_t *copybufinfo; - // XXX copy/paste buffer stuff... extern void free_anim_copybuf(void); extern void free_anim_drivers_copybuf(void); @@ -419,9 +416,7 @@ void WM_exit_ext(bContext *C, const short do_python) GPU_global_buffer_pool_free(); GPU_free_unused_buffers(); GPU_extensions_exit(); - -// if (copybuf) MEM_freeN(copybuf); -// if (copybufinfo) MEM_freeN(copybufinfo); + if (!G.background) { BKE_undo_save_quit(); // saves quit.blend if global undo is on } diff --git a/source/creator/creator.c b/source/creator/creator.c index 4a4887f52f9..3cc2c4f1c4c 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -319,9 +319,6 @@ static int print_help(int UNUSED(argc), const char **UNUSED(argv), void *data) return 0; } - -double PIL_check_seconds_timer(void); - static int end_arguments(int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) { return -1; |