From 32c461759a0c60e8b7d9e7840827fd785b56a422 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Wed, 26 Jan 2022 19:33:30 +0800 Subject: 5.11 --- 5/11.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '5/11.c') diff --git a/5/11.c b/5/11.c index 056bdd8..51b0faf 100644 --- a/5/11.c +++ b/5/11.c @@ -7,8 +7,8 @@ #define TABSIZE 8 #define MAXTEXTLEN 500 -int gettabs(char *s, int *t); int getinput(char *s, int max); +int gettablist(char *s, int *t); void entab(char *s, char *t, int *tablist, int tablistc); void detab(char *s, char *t, int *tablist, int tablistc); @@ -22,7 +22,7 @@ int main(int argc, char *argv[]) { } if (argc == 3) { - if (!(colc = gettabs(argv[2], colv))) { + if (!(colc = gettablist(argv[2], colv))) { printf("error: invalid tablist\n"); return 1; } @@ -50,7 +50,7 @@ int main(int argc, char *argv[]) { return 0; } -int gettabs(char *s, int *t) { +int gettablist(char *s, int *t) { int i, j, k; char col[MAXDIGLEN]; -- cgit v1.2.3