summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-10-05 02:36:52 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-10-05 02:36:52 (EDT)
commit1c0ab0332c05ce688f370f9d40e0c2ba99a0c32e (patch)
treef617abb5b4da90fe81e1c0fbb5f158d94ad10948
parent576dfc300835b6ac78a5658aa519916a0b1e57d6 (diff)
downloadtimeteller-1c0ab0332c05ce688f370f9d40e0c2ba99a0c32e.zip
timeteller-1c0ab0332c05ce688f370f9d40e0c2ba99a0c32e.tar.gz
timeteller-1c0ab0332c05ce688f370f9d40e0c2ba99a0c32e.tar.bz2
speech_init(): Rename to speech_new()
-rw-r--r--src/main.c2
-rw-r--r--src/speech.c2
-rw-r--r--src/speech.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 81c2290..b35d079 100644
--- a/src/main.c
+++ b/src/main.c
@@ -26,7 +26,7 @@ main(int argc, char **argv)
{
struct speech *speech;
- speech = speech_init();
+ speech = speech_new();
speech_play_time(speech);
speech_destroy(&speech);
diff --git a/src/speech.c b/src/speech.c
index 2ce3f12..5b4227d 100644
--- a/src/speech.c
+++ b/src/speech.c
@@ -34,7 +34,7 @@ struct speech {
};
struct speech *
-speech_init(void)
+speech_new(void)
{
struct speech *speech;
diff --git a/src/speech.h b/src/speech.h
index 96b7396..7d8ffe8 100644
--- a/src/speech.h
+++ b/src/speech.h
@@ -25,7 +25,7 @@
struct speech;
struct speech *
-speech_init(void);
+speech_new(void);
float
speech_play_time(const struct speech *speech);