]> sigrok.org Git - libsigrok.git/blobdiff - output/common.c
Prefix device structs with sr_.
[libsigrok.git] / output / common.c
index c10d4d2be932d945d2559f8cbb17a2cf55d0ae91..77914956607b54fa25a98c7ed7f98a85d454e786 100644 (file)
@@ -32,7 +32,7 @@
  * @return A malloc()ed string representation of the samplerate value,
  *         or NULL upon errors. The caller is responsible to free() the memory.
  */
-char *sigrok_samplerate_string(uint64_t samplerate)
+char *sr_samplerate_string(uint64_t samplerate)
 {
        char *o;
        int r;
@@ -69,7 +69,7 @@ char *sigrok_samplerate_string(uint64_t samplerate)
  * @return A malloc()ed string representation of the frequency value,
  *         or NULL upon errors. The caller is responsible to free() the memory.
  */
-char *sigrok_period_string(uint64_t frequency)
+char *sr_period_string(uint64_t frequency)
 {
        char *o;
        int r;