aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2016-12-01 17:46:29 -0800
committerTaylor Holberton <taylorcholberton@gmail.com>2016-12-01 17:46:29 -0800
commit15d58481e7633281e4d13fdabd12e1cec2605752 (patch)
tree4266ec223a07f3cd579e2b5445f0312962e0effc /include
parent94803b005511f8baf3281ec4e922be99f62b4186 (diff)
added const specifier in function, pcm_is_ready
Diffstat (limited to 'include')
-rw-r--r--include/tinyalsa/pcm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tinyalsa/pcm.h b/include/tinyalsa/pcm.h
index c2c67bb..caa4d1f 100644
--- a/include/tinyalsa/pcm.h
+++ b/include/tinyalsa/pcm.h
@@ -238,7 +238,7 @@ struct pcm *pcm_open(unsigned int card,
int pcm_close(struct pcm *pcm);
-int pcm_is_ready(struct pcm *pcm);
+int pcm_is_ready(const struct pcm *pcm);
int pcm_get_file_descriptor(struct pcm *pcm);