code cleanup: remove unused externs.

This commit is contained in:
Campbell Barton 2012-03-11 00:00:27 +00:00
parent 7f34653f59
commit 0c50bedd9c
6 changed files with 2 additions and 28 deletions

@ -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 */

@ -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)

@ -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);

@ -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
---------------------------------------------------------------------- */

@ -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
}

@ -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;