summaryrefslogtreecommitdiff
path: root/test-skeleton.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-24 23:39:37 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-24 23:39:37 +0000
commit9c0592ab3b82691480fff3732239d5892d367df9 (patch)
treecce17bc0b06043c7cc31f953dc0817f6436b60f6 /test-skeleton.c
parent2debc8c54bf6e752554f212be7e3d50524d2b867 (diff)
Update.
* test-skeleton.c: Mark local functions as static to avoid warnings. 2000-11-23 H.J. Lu <hjl@gnu.org> * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to support the background job. Fix a typo. 2000-11-24 Ulrich Drepper <drepper@redhat.com> has same names but lower cost.
Diffstat (limited to 'test-skeleton.c')
-rw-r--r--test-skeleton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test-skeleton.c b/test-skeleton.c
index e4cd95702d..130ac9359b 100644
--- a/test-skeleton.c
+++ b/test-skeleton.c
@@ -62,7 +62,7 @@ struct name_list
} *name_list;
/* Add temporary files in list. */
-void
+static void
add_temp_file (const char *name)
{
struct name_list *newp = (struct name_list *) calloc (sizeof (*newp), 1);
@@ -77,7 +77,7 @@ add_temp_file (const char *name)
}
/* Delete all temporary files. */
-void
+static void
delete_temp_files (void)
{
while (name_list != NULL)
@@ -88,7 +88,7 @@ delete_temp_files (void)
}
/* Timeout handler. We kill the child and exit with an error. */
-void
+static void
timeout_handler (int sig __attribute__ ((unused)))
{
int killed;