summaryrefslogtreecommitdiff
path: root/comp/lucas-standen-NEA/code2/fileread.c
diff options
context:
space:
mode:
Diffstat (limited to 'comp/lucas-standen-NEA/code2/fileread.c')
-rw-r--r--comp/lucas-standen-NEA/code2/fileread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/comp/lucas-standen-NEA/code2/fileread.c b/comp/lucas-standen-NEA/code2/fileread.c
index 0bfc497..296ff55 100644
--- a/comp/lucas-standen-NEA/code2/fileread.c
+++ b/comp/lucas-standen-NEA/code2/fileread.c
@@ -11,7 +11,7 @@ typedef struct strings {
} strings;
//# counts the number of times c ocurrs in s
-int countChars(char *s, char c){
+static int countChars(char *s, char c){
int count = 0;
for (int i = 0; i < strlen(s); i++){
if (s[i] == c) count++;