From 174ca34382f8b455dcb0ca6e527f7d7ff2675a67 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Mon, 4 Aug 2008 00:03:20 -0500 Subject: [PATCH] Remove extraneous inclusions of const.h --- Timeline/Annotation_Region.C | 1 - Timeline/Audio_Sequence.C | 1 - Timeline/Control_Point.C | 1 - Timeline/Control_Sequence.C | 1 - Timeline/Engine/Audio_File_Dummy.C | 1 - Timeline/Engine/Audio_Sequence.C | 1 - Timeline/Engine/Control_Sequence.C | 1 - Timeline/Engine/Disk_Stream.C | 1 - Timeline/Engine/Engine.C | 1 - Timeline/Engine/Port.C | 1 - Timeline/Engine/Timeline.C | 1 - Timeline/Engine/Track.C | 1 - Timeline/Engine/dsp.C | 1 - Timeline/Sequence_Point.C | 1 - Timeline/Sequence_Region.C | 1 - Timeline/Tempo_Point.C | 1 - Timeline/Tempo_Sequence.C | 2 -- Timeline/Time_Point.C | 1 - Timeline/Time_Sequence.C | 2 -- Timeline/Timeline.C | 1 - Timeline/Track.C | 1 - Timeline/Transport.C | 1 - Timeline/Waveform.C | 1 - 23 files changed, 25 deletions(-) diff --git a/Timeline/Annotation_Region.C b/Timeline/Annotation_Region.C index 5559b0f..c80a4b9 100644 --- a/Timeline/Annotation_Region.C +++ b/Timeline/Annotation_Region.C @@ -123,5 +123,4 @@ Annotation_Region::handle ( int m ) } return r; -#include "const.h" } diff --git a/Timeline/Audio_Sequence.C b/Timeline/Audio_Sequence.C index 0c1510b..72d43a0 100644 --- a/Timeline/Audio_Sequence.C +++ b/Timeline/Audio_Sequence.C @@ -282,5 +282,4 @@ Audio_Sequence::handle ( int m ) default: return Sequence::handle( m ); } -#include "const.h" } diff --git a/Timeline/Control_Point.C b/Timeline/Control_Point.C index 9e49129..db03d6f 100644 --- a/Timeline/Control_Point.C +++ b/Timeline/Control_Point.C @@ -115,5 +115,4 @@ Control_Point::handle ( int m ) } return r; -#include "const.h" } diff --git a/Timeline/Control_Sequence.C b/Timeline/Control_Sequence.C index 0c27819..fb85417 100644 --- a/Timeline/Control_Sequence.C +++ b/Timeline/Control_Sequence.C @@ -343,5 +343,4 @@ Control_Sequence::handle ( int m ) default: return 0; } -#include "const.h" } diff --git a/Timeline/Engine/Audio_File_Dummy.C b/Timeline/Engine/Audio_File_Dummy.C index 5dc5e3b..b91ede9 100644 --- a/Timeline/Engine/Audio_File_Dummy.C +++ b/Timeline/Engine/Audio_File_Dummy.C @@ -27,5 +27,4 @@ Audio_File_Dummy::from_file ( const char *filename ) Audio_File_Dummy *d = new Audio_File_Dummy; d->_filename = strdup( filename ); return d; -#include "const.h" } diff --git a/Timeline/Engine/Audio_Sequence.C b/Timeline/Engine/Audio_Sequence.C index ed720bf..823c5d6 100644 --- a/Timeline/Engine/Audio_Sequence.C +++ b/Timeline/Engine/Audio_Sequence.C @@ -69,5 +69,4 @@ Audio_Sequence::play ( sample_t *buf, nframes_t frame, nframes_t nframes, int ch /* FIXME: bogus */ return nframes; -#include "const.h" } diff --git a/Timeline/Engine/Control_Sequence.C b/Timeline/Engine/Control_Sequence.C index adafc68..c4ce8e3 100644 --- a/Timeline/Engine/Control_Sequence.C +++ b/Timeline/Engine/Control_Sequence.C @@ -102,5 +102,4 @@ Control_Sequence::process ( nframes_t nframes ) } else return nframes; -#include "const.h" } diff --git a/Timeline/Engine/Disk_Stream.C b/Timeline/Engine/Disk_Stream.C index 9121973..0cf84ed 100644 --- a/Timeline/Engine/Disk_Stream.C +++ b/Timeline/Engine/Disk_Stream.C @@ -235,5 +235,4 @@ Disk_Stream::buffer_percent ( void ) sem_getvalue( &_blocks, &n ); return 100 - (n * 100 / _total_blocks); -#include "const.h" } diff --git a/Timeline/Engine/Engine.C b/Timeline/Engine/Engine.C index d101edd..512317b 100644 --- a/Timeline/Engine/Engine.C +++ b/Timeline/Engine/Engine.C @@ -317,5 +317,4 @@ Engine::request_locate ( nframes_t frame ) { if ( timeline ) timeline->seek( frame ); -#include "const.h" } diff --git a/Timeline/Engine/Port.C b/Timeline/Engine/Port.C index cf4c95c..dc73f59 100644 --- a/Timeline/Engine/Port.C +++ b/Timeline/Engine/Port.C @@ -139,5 +139,4 @@ void Port::silence ( nframes_t nframes ) { memset( buffer( nframes ), 0, nframes * sizeof( sample_t ) ); -#include "const.h" } diff --git a/Timeline/Engine/Timeline.C b/Timeline/Engine/Timeline.C index 88b2edb..c23edbd 100644 --- a/Timeline/Engine/Timeline.C +++ b/Timeline/Engine/Timeline.C @@ -225,5 +225,4 @@ Timeline::total_capture_xruns ( void ) } return r; -#include "const.h" } diff --git a/Timeline/Engine/Track.C b/Timeline/Engine/Track.C index 0d12cd0..bf3e0d0 100644 --- a/Timeline/Engine/Track.C +++ b/Timeline/Engine/Track.C @@ -254,5 +254,4 @@ Track::finalize ( Capture *c, nframes_t frame ) c->audio_file->finalize(); delete c->audio_file; -#include "const.h" } diff --git a/Timeline/Engine/dsp.C b/Timeline/Engine/dsp.C index 84d5842..5145111 100644 --- a/Timeline/Engine/dsp.C +++ b/Timeline/Engine/dsp.C @@ -94,5 +94,4 @@ void buffer_fill_with_silence ( sample_t *buf, nframes_t nframes ) { memset( buf, 0, nframes * sizeof( sample_t ) ); -#include "const.h" } diff --git a/Timeline/Sequence_Point.C b/Timeline/Sequence_Point.C index 0933579..272e40e 100644 --- a/Timeline/Sequence_Point.C +++ b/Timeline/Sequence_Point.C @@ -130,5 +130,4 @@ Sequence_Point::draw ( void ) // Sequence_Widget::draw(); draw_label( _label, align() ); -#include "const.h" } diff --git a/Timeline/Sequence_Region.C b/Timeline/Sequence_Region.C index c42e6af..67584f6 100644 --- a/Timeline/Sequence_Region.C +++ b/Timeline/Sequence_Region.C @@ -248,5 +248,4 @@ Sequence_Region::draw_box ( void ) void Sequence_Region::draw ( void ) { -#include "const.h" } diff --git a/Timeline/Tempo_Point.C b/Timeline/Tempo_Point.C index f71b7c2..3a80fff 100644 --- a/Timeline/Tempo_Point.C +++ b/Timeline/Tempo_Point.C @@ -171,5 +171,4 @@ Tempo_Point::edit ( float *tempo ) Tempo_Point_Editor ti( tempo ); return ti.sucess(); -#include "const.h" } diff --git a/Timeline/Tempo_Sequence.C b/Timeline/Tempo_Sequence.C index d62fd6f..a90c4a1 100644 --- a/Timeline/Tempo_Sequence.C +++ b/Timeline/Tempo_Sequence.C @@ -56,6 +56,4 @@ Tempo_Sequence::handle ( int m ) return 0; } - -#include "const.h" } diff --git a/Timeline/Time_Point.C b/Timeline/Time_Point.C index ff3f588..1dd243d 100644 --- a/Timeline/Time_Point.C +++ b/Timeline/Time_Point.C @@ -199,5 +199,4 @@ Time_Point::edit ( time_sig *sig ) Time_Point_Editor ti( sig ); return ti.sucess(); -#include "const.h" } diff --git a/Timeline/Time_Sequence.C b/Timeline/Time_Sequence.C index c0ac713..51e52df 100644 --- a/Timeline/Time_Sequence.C +++ b/Timeline/Time_Sequence.C @@ -56,6 +56,4 @@ Time_Sequence::handle ( int m ) return 0; } - -#include "const.h" } diff --git a/Timeline/Timeline.C b/Timeline/Timeline.C index f89230d..faaa679 100644 --- a/Timeline/Timeline.C +++ b/Timeline/Timeline.C @@ -1404,5 +1404,4 @@ Timeline::remove_track ( Track *track ) /* FIXME: why is this necessary? doesn't the above add do DAMAGE_CHILD? */ redraw(); -#include "const.h" } diff --git a/Timeline/Track.C b/Timeline/Track.C index 0e6e406..be2547f 100644 --- a/Timeline/Track.C +++ b/Timeline/Track.C @@ -805,5 +805,4 @@ Track::handle ( int m ) } return 0; -#include "const.h" } diff --git a/Timeline/Transport.C b/Timeline/Transport.C index 0a1b8b7..3890298 100644 --- a/Timeline/Transport.C +++ b/Timeline/Transport.C @@ -183,5 +183,4 @@ Transport::toggle ( void ) stop(); else start(); -#include "const.h" } diff --git a/Timeline/Waveform.C b/Timeline/Waveform.C index 4c8239a..402924f 100644 --- a/Timeline/Waveform.C +++ b/Timeline/Waveform.C @@ -117,5 +117,4 @@ Waveform::draw ( int X, int Y, int W, int H, fl_line_style( FL_SOLID, 0 ); } -#include "const.h" }