summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2008-09-25 20:19:03 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2008-09-25 20:19:03 +1000
commitd5b1bfe84348c127d0648edac4f2f1642e17cf5d (patch)
treeaf58e97eb073ca2c8714740712b51b2698c07c16 /examples
parent39e5b55531e20b93799864d5f0751a22a93834b7 (diff)
examples/* : Rename copy_data.[ch] to common.[ch]. Fix build.
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am4
-rw-r--r--examples/common.c (renamed from examples/copy_data.c)2
-rw-r--r--examples/common.h (renamed from examples/copy_data.h)0
-rw-r--r--examples/sndfile-metadata-get.c2
-rw-r--r--examples/sndfile-metadata-set.c2
5 files changed, 4 insertions, 6 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index da7e807..82a6cc4 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -25,13 +25,13 @@ sndfile_jackplay_SOURCES = sndfile-jackplay.c
sndfile_jackplay_CFLAGS = $(JACK_CFLAGS)
sndfile_jackplay_LDADD = $(SNDFILEDIR)/libsndfile.la $(JACK_LIBS)
-sndfile_convert_SOURCES = sndfile-convert.c copy_data.c copy_data.h
+sndfile_convert_SOURCES = sndfile-convert.c common.c common.h
sndfile_convert_LDADD = $(SNDFILEDIR)/libsndfile.la
sndfile_cmp_SOURCES = sndfile-cmp.c
sndfile_cmp_LDADD = $(SNDFILEDIR)/libsndfile.la
-sndfile_metadata_set_SOURCES = sndfile-metadata-set.c copy_data.c copy_data.h
+sndfile_metadata_set_SOURCES = sndfile-metadata-set.c common.c common.h
sndfile_metadata_set_LDADD = $(SNDFILEDIR)/libsndfile.la
sndfile_metadata_get_SOURCES = sndfile-metadata-get.c
diff --git a/examples/copy_data.c b/examples/common.c
index 72a4736..c8cd0c3 100644
--- a/examples/copy_data.c
+++ b/examples/common.c
@@ -37,7 +37,7 @@
#include <sndfile.h>
-#include "copy_data.h"
+#include "common.h"
#define BUFFER_LEN 4096
diff --git a/examples/copy_data.h b/examples/common.h
index 69c748d..69c748d 100644
--- a/examples/copy_data.h
+++ b/examples/common.h
diff --git a/examples/sndfile-metadata-get.c b/examples/sndfile-metadata-get.c
index 7dee5c8..4818db4 100644
--- a/examples/sndfile-metadata-get.c
+++ b/examples/sndfile-metadata-get.c
@@ -42,8 +42,6 @@
#include <sndfile.h>
-#include "copy_data.h"
-
#define BUFFER_LEN (1 << 16)
diff --git a/examples/sndfile-metadata-set.c b/examples/sndfile-metadata-set.c
index 4df1eb4..eed9a20 100644
--- a/examples/sndfile-metadata-set.c
+++ b/examples/sndfile-metadata-set.c
@@ -42,7 +42,7 @@
#include <sndfile.h>
-#include "copy_data.h"
+#include "common.h"
#define BUFFER_LEN (1 << 16)