diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-01-08 10:05:37 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-01-08 10:05:37 +0100 |
| commit | 819672b8822896b4e850561c9198667c23691afc (patch) | |
| tree | 6a88913630734736763b12ec0b10da68ef413256 /include | |
| parent | 3ac208fd1170cd5ca377020a7d94503eeecf59ab (diff) | |
| parent | 7c093b4e1edcf01a34daf782876d97136780a465 (diff) | |
Merge pull request #3275 from ianyfan/remove-readline
Rewrite strip_whitespace and remove readline.c
Diffstat (limited to 'include')
| -rw-r--r-- | include/readline.h | 10 | ||||
| -rw-r--r-- | include/stringop.h | 5 |
2 files changed, 1 insertions, 14 deletions
diff --git a/include/readline.h b/include/readline.h deleted file mode 100644 index ee2eba5d..00000000 --- a/include/readline.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef _SWAY_READLINE_H -#define _SWAY_READLINE_H - -#include <stdio.h> - -char *read_line(FILE *file); -char *peek_line(FILE *file, int line_offset, long *position); -char *read_line_buffer(FILE *file, char *string, size_t string_len); - -#endif diff --git a/include/stringop.h b/include/stringop.h index d1bfa29d..f7ca60a5 100644 --- a/include/stringop.h +++ b/include/stringop.h @@ -3,10 +3,7 @@ #include "list.h" -// array of whitespace characters to use for delims -extern const char whitespace[]; - -char *strip_whitespace(char *str); +void strip_whitespace(char *str); char *strip_comments(char *str); void strip_quotes(char *str); |
