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:
authorCampbell Barton <ideasman42@gmail.com>2012-03-11 04:00:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-11 04:00:27 +0400
commit0c50bedd9c960763d3e8e695b63957a964565be0 (patch)
treecd155d7f484052fcc959f5b74b5b413a998889a3 /source/blender
parent7f34653f59ad3f7bed75eb9a36aa6ed928eef181 (diff)
code cleanup: remove unused externs.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/animation/anim_draw.c3
-rw-r--r--source/blender/editors/space_node/drawnode.c4
-rw-r--r--source/blender/editors/space_sequencer/sequencer_edit.c5
-rw-r--r--source/blender/imbuf/intern/indexer.c8
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c7
5 files changed, 2 insertions, 25 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
}