diff --git a/gst/Makefile.am b/gst/Makefile.am index dcea04371f..8592e8cb87 100644 --- a/gst/Makefile.am +++ b/gst/Makefile.am @@ -81,6 +81,7 @@ libgstreamer_@GST_MAJORMINOR@_la_SOURCES = \ gstthread.c \ gstthreaddummy.c \ $(GST_TRACE_SRC) \ + gsttrashstack.c \ gsttype.c \ $(GST_TYPEFIND_SRC) \ gstutils.c \ diff --git a/gst/gstmemchunk.c b/gst/gstmemchunk.c index 360bdd6c7e..b13833cbaf 100644 --- a/gst/gstmemchunk.c +++ b/gst/gstmemchunk.c @@ -22,9 +22,6 @@ #include "gstlog.h" #include "gstutils.h" #include "gstmemchunk.h" - -#define GST_IMPLEMENT_INLINES 1 -#define __GST_TRASH_STACK_C__ #include "gsttrashstack.h" #define GST_MEM_CHUNK_AREA(chunk) (((GstMemChunkElement*)(chunk))->area) diff --git a/gst/gsttrashstack.c b/gst/gsttrashstack.c new file mode 100644 index 0000000000..66cf8309b5 --- /dev/null +++ b/gst/gsttrashstack.c @@ -0,0 +1,24 @@ +/* GStreamer + * Copyright (C) <1999> Erik Walthinsen + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#define GST_IMPLEMENT_INLINES 1 +#define __GST_TRASH_STACK_C__ + +#include "gsttrashstack.h" +