X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=src%2Flibpspp%2Fstr.h;h=b9be394c59c46a95f1f593e970ac83e4cdb8d7b8;hp=b057c2bd62028b2a72ba2c9e4e4b019d49a3c7e5;hb=c9b92e317e7426db24fce2636134e1e46eb05d40;hpb=84b708489d9ca5d68ec516c2b30473ab75807fb4 diff --git a/src/libpspp/str.h b/src/libpspp/str.h index b057c2bd..b9be394c 100644 --- a/src/libpspp/str.h +++ b/src/libpspp/str.h @@ -177,6 +177,7 @@ bool ds_tokenize (const struct string *src, struct substring delimiters, size_t *save_idx, struct substring *token); void ds_rpad (struct string *, size_t length, char pad); void ds_set_length (struct string *, size_t new_length, char pad); +void ds_remove (struct string *, size_t start, size_t n); /* Extracting substrings. */ struct substring ds_ss (const struct string *);