From: Michal MalĂ˝ Date: Sun, 29 Mar 2015 16:26:09 +0000 (+0200) Subject: Add remove_trailing_newline() function signature X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=cb3c8ad7569f15c91b31815d5fcd2c6f764e3bcc;p=libHPCS.git Add remove_trailing_newline() function signature --- diff --git a/libhpcs_p.h b/libhpcs_p.h index c775ad8..02816c3 100644 --- a/libhpcs_p.h +++ b/libhpcs_p.h @@ -144,6 +144,7 @@ static enum HPCS_ParseCode read_signal(FILE* datafile, struct HPCS_TVPair** pair const HPCS_step step, const double sampling_rate); static enum HPCS_ParseCode read_sampling_rate(FILE* datafile, double* sampling_rate); static enum HPCS_ParseCode read_string_at_offset(FILE* datafile, const HPCS_offset, char** const result); +static void remove_trailing_newline(HPCS_NChar* s); /** Platform-specific functions */ #ifdef _WIN32