diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-03-30 11:43:37 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-03-30 11:43:37 -0400 |
commit | eb467221324597a08ea897cf7723b346c14d3191 (patch) | |
tree | 5a995c34dc856c39dd25fd2b81816fd6cbd13683 | |
parent | 690aca3fbe177894b9276467b288a901fe8abc8c (diff) |
strpeekbuf -> peekstrbuf
-rw-r--r-- | buf.c | 2 | ||||
-rw-r--r-- | buf.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -89,7 +89,7 @@ void insstrbuf(buf* buffer, char* str){ } } -char* strpeekbuf(buf* buffer, size_t loc, size_t len){ +char* peekstrbuf(buf* buffer, size_t loc, size_t len){ char* str = malloc(sizeof(char)*(len+1)); str[len] = 0; buf_node* start; @@ -14,6 +14,6 @@ char* popstrbuf(buf* buffer, size_t ct); void inschrbuf(buf* buffer, char chr); void insstrbuf(buf* buffer, char* str); -char* strpeekbuf(buf* buffer, size_t loc, size_t len); +char* peekstrbuf(buf* buffer, size_t loc, size_t len); #endif |