summaryrefslogtreecommitdiff
path: root/lib-src/test-distrib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/test-distrib.c')
-rw-r--r--lib-src/test-distrib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib-src/test-distrib.c b/lib-src/test-distrib.c
index acfb147325b..c27f0e35b07 100644
--- a/lib-src/test-distrib.c
+++ b/lib-src/test-distrib.c
@@ -26,18 +26,18 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Break string in two parts to avoid buggy C compilers that ignore characters
after nulls in strings. */
-char string1[] = "Testing distribution of nonprinting chars:\n\
+static char string1[] = "Testing distribution of nonprinting chars:\n\
Should be 0177: \177 Should be 0377: \377 Should be 0212: \212.\n\
Should be 0000: ";
-char string2[] = ".\n\
+static char string2[] = ".\n\
This file is read by the `test-distribution' program.\n\
If you change it, you will make that program fail.\n";
-char buf[300];
+static char buf[300];
/* Like `read' but keeps trying until it gets SIZE bytes or reaches eof. */
-int
+static int
cool_read (int fd, char *buf, size_t size)
{
ssize_t num;