]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Constify
authorAndreas Öman <andreas@lonelycoder.com>
Wed, 16 Jun 2010 21:07:44 +0000 (21:07 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Wed, 16 Jun 2010 21:07:44 +0000 (21:07 +0000)
src/transports.c
src/transports.h

index 9039220a705d5ba671a5e81bd0453f7f65469245..c4e15be0c890ad3ef581d1e19e601079c29a6e45 100644 (file)
@@ -973,7 +973,7 @@ transport_source_info_free(struct source_info *si)
 
 
 void
-transport_source_info_copy(source_info_t *dst, source_info_t *src)
+transport_source_info_copy(source_info_t *dst, const source_info_t *src)
 {
 #define COPY(x) dst->si_##x = src->si_##x ? strdup(src->si_##x) : NULL
   COPY(device);
index 94f9f66984302b3d2aea9bcafe7254eb0434306c..75892b82c452df7253606ebc28b688980b37d840 100644 (file)
@@ -79,7 +79,7 @@ void transport_request_save(th_transport_t *t, int restart);
 
 void transport_source_info_free(source_info_t *si);
 
-void transport_source_info_copy(source_info_t *dst, source_info_t *src);
+void transport_source_info_copy(source_info_t *dst, const source_info_t *src);
 
 void transport_make_nicename(th_transport_t *t);