Commit 4b68de87 4b68de87b087fb6023b2517b6771264bdf58d51d by Wojciech Polak

(prog_stream_create): Changed type of the second argument to const char*.

(filter_prog_stream_create): Likewise.
(_prog_stream_create): Changed type of the third argument to const char*.
1 parent ecb71bae
...@@ -975,7 +975,7 @@ _prog_get_transport2 (stream_t stream, mu_transport_t *pin, mu_transport_t *pout ...@@ -975,7 +975,7 @@ _prog_get_transport2 (stream_t stream, mu_transport_t *pin, mu_transport_t *pout
975 975
976 int 976 int
977 _prog_stream_create (struct _prog_stream **pfs, 977 _prog_stream_create (struct _prog_stream **pfs,
978 stream_t *stream, char *progname, int flags) 978 stream_t *stream, const char *progname, int flags)
979 { 979 {
980 struct _prog_stream *fs; 980 struct _prog_stream *fs;
981 int ret; 981 int ret;
...@@ -1029,13 +1029,14 @@ _prog_stream_create (struct _prog_stream **pfs, ...@@ -1029,13 +1029,14 @@ _prog_stream_create (struct _prog_stream **pfs,
1029 } 1029 }
1030 1030
1031 int 1031 int
1032 prog_stream_create (stream_t *stream, char *progname, int flags) 1032 prog_stream_create (stream_t *stream, const char *progname, int flags)
1033 { 1033 {
1034 return _prog_stream_create (NULL, stream, progname, flags); 1034 return _prog_stream_create (NULL, stream, progname, flags);
1035 } 1035 }
1036 1036
1037 int 1037 int
1038 filter_prog_stream_create (stream_t *stream, char *progname, stream_t input) 1038 filter_prog_stream_create (stream_t *stream, const char *progname,
1039 stream_t input)
1039 { 1040 {
1040 struct _prog_stream *fs; 1041 struct _prog_stream *fs;
1041 int rc = _prog_stream_create (&fs, stream, progname, MU_STREAM_RDWR); 1042 int rc = _prog_stream_create (&fs, stream, progname, MU_STREAM_RDWR);
......