X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=include%2Flibsigrok%2Fproto.h;h=f11efeda3712572c7719c23ef35bc12f9c39f2a0;hb=7009a3921a0394ec5e89c2f0009eae4d7398a560;hp=dd4782b55e27fb158d8c3dc23506eeabe36169f8;hpb=63d0fb752830fa8ea225ed9a9776e44a0ba66928;p=libsigrok.git diff --git a/include/libsigrok/proto.h b/include/libsigrok/proto.h index dd4782b5..f11efeda 100644 --- a/include/libsigrok/proto.h +++ b/include/libsigrok/proto.h @@ -137,7 +137,7 @@ SR_API int sr_output_free(struct sr_output *o); /*--- trigger.c -------------------------------------------------------------*/ -SR_API struct sr_trigger *sr_trigger_new(char *name); +SR_API struct sr_trigger *sr_trigger_new(const char *name); SR_API void sr_trigger_free(struct sr_trigger *trig); SR_API struct sr_trigger_stage *sr_trigger_stage_add(struct sr_trigger *trig); SR_API int sr_trigger_match_add(struct sr_trigger_stage *stage,