X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fbabeltrace%2Fctf-text%2Ftypes.h;fp=include%2Fbabeltrace%2Fctf-text%2Ftypes.h;h=3db8a1069ef97625a667cf28eb5dd26bfc243ae5;hb=300d317acaa3bd38afafe0a440946e6c73e6fd73;hp=101873a9d5af801bff4508bef1183728ff75e329;hpb=8673030f3cb8d157a30e79af524fd5cca253025e;p=babeltrace.git diff --git a/include/babeltrace/ctf-text/types.h b/include/babeltrace/ctf-text/types.h index 101873a9..3db8a106 100644 --- a/include/babeltrace/ctf-text/types.h +++ b/include/babeltrace/ctf-text/types.h @@ -75,13 +75,4 @@ void print_pos_tabs(struct ctf_text_stream_pos *pos) */ int print_field(struct definition *definition); -static inline -const char *rem_(const char *str) -{ - if (str[0] == '_') - return &str[1]; - else - return str; -} - #endif /* _BABELTRACE_CTF_TEXT_TYPES_H */