mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
rc.xml: split out rstrip() to string-helpers.c
This commit is contained in:
parent
bc04f50d14
commit
a97428020e
3 changed files with 21 additions and 13 deletions
|
|
@ -8,4 +8,11 @@
|
|||
*/
|
||||
char *string_strip(char *s);
|
||||
|
||||
/**
|
||||
* string_truncate_at_pattern - remove pattern and everything after it
|
||||
* @buf: pointer to buffer
|
||||
* @pattern: string to remove
|
||||
*/
|
||||
void string_truncate_at_pattern(char *buf, const char *pattern);
|
||||
|
||||
#endif /* __LABWC_STRING_HELPERS_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue