From eb467221324597a08ea897cf7723b346c14d3191 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Mon, 30 Mar 2020 11:43:37 -0400 Subject: strpeekbuf -> peekstrbuf --- buf.c | 2 +- buf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buf.c b/buf.c index b76fa0b..a485708 100644 --- a/buf.c +++ b/buf.c @@ -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; diff --git a/buf.h b/buf.h index 808cd3f..a796c92 100644 --- a/buf.h +++ b/buf.h @@ -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 -- cgit