diff options
| author | John Vogel <jvogel4@stny.rr.com> | 2015-12-06 11:53:04 -0500 |
|---|---|---|
| committer | John Vogel <jvogel4@stny.rr.com> | 2015-12-06 11:53:04 -0500 |
| commit | a2bb6935751bc7e941af49f39e4c8837792fc602 (patch) | |
| tree | 160318362ba58c66cd2aeb84e3700217d774144c /page.c | |
| parent | b7f31f3af60fd37599b93ea32ac3cb95366d14c8 (diff) | |
| download | cic-master.tar.gz | |
Diffstat (limited to 'page.c')
| -rw-r--r-- | page.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -4,7 +4,8 @@ #include <string.h> #include <curses.h> -void freefilebuf(char **buffer, ssize_t cnt) +static void +freefilebuf(char **buffer, ssize_t cnt) { if (!buffer || !cnt) return; @@ -15,7 +16,8 @@ void freefilebuf(char **buffer, ssize_t cnt) free(buffer); } -int readfile(FILE *fp, char ***buffer, ssize_t *count, int ncols) +static int +readfile(FILE *fp, char ***buffer, ssize_t *count, int ncols) { char **buf, **tmp; char *line; @@ -99,7 +101,8 @@ int readfile(FILE *fp, char ***buffer, ssize_t *count, int ncols) return ret; } -void displayfile(FILE *fp, long fpos, int r, int c, int y, int x) +static void +displayfile(FILE *fp, long fpos, int r, int c, int y, int x) { WINDOW *win; char **lbuf; |
