Avoid a compiler warning.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 14 Mar 2023 16:52:35 +0000 (12:52 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 14 Mar 2023 18:58:26 +0000 (14:58 -0400)
saveresume.c

index c53ee4950ff9942868ec2ad4517497739030a421..b90595b5b13253e8ba0f4c9eef3cccdb8562a58d 100644 (file)
@@ -57,7 +57,7 @@ int savefile(FILE *fp, int32_t version)
 
 /* Suspend and resume */
 
-char *strip(char *name)
+static char *strip(char *name)
 {
     // Trim leading whitespace
     while(isspace((unsigned char)*name))