-/* Copyright (C) 1991, 1993, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1993, 1997, 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
#include <dirent.h>
-int
+static int
test (const char *name)
{
DIR *dirp;
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
The GNU C Library is free software; you can redistribute it and/or
}
-void
+static void
do_cleanup (void)
{
remove (tmpname);
#include <stdio.h>
#include <stdlib.h>
-void *
+static void *
sub1 (void *arg)
{
/* Nothing. */
{ -1.0, 0, 0, "" }
};
-void
+static void
output_error (const char *name, double value, int ndigit,
const char *exp_p, int exp_decpt, int exp_sign,
char *res_p, int res_decpt, int res_sign)
}
-void
+static void
output_r_error (const char *name, double value, int ndigit,
const char *exp_p, int exp_decpt, int exp_sign, int exp_return,
char *res_p, int res_decpt, int res_sign, int res_return)
++error_count;
}
-void
+static void
test (testcase tests[], efcvt_func efcvt, const char *name)
{
int no = 0;
}
}
-void
+static void
test_r (testcase tests[], efcvt_r_func efcvt_r, const char *name)
{
int no = 0;
}
}
-void
+static void
special (void)
{
int decpt, sign, res;
\f
-int
+static int
run_a_test (int id, const struct a_test * t)
{
static const char * last_pattern = 0;
goto fail; \
} while (0)
-int
+static int
do_test (int argc, char *argv[])
{
const char *builddir;
#include <netinet/in.h>
#include <netdb.h>
-int
+static int
do_test (void)
{
const int family[3] = { AF_INET, AF_INET6, AF_UNIX };
static int testit (struct test_case_struct *tc);
static int tests;
-void
+static void
command_line_test (const char *words)
{
wordexp_t we;
int flag;
-void
+static void
thrfct (sigval_t arg)
{
flag = 1;
}
-int
+static int
do_test (int argc, char *argv[])
{
char name[] = "/tmp/aio2.XXXXXX";
int flag;
-void
+static void
thrfct (sigval_t arg)
{
flag = 1;
}
-int
+static int
do_test (int argc, char *argv[])
{
char name[] = "/tmp/aio3.XXXXXX";
printf ("aio_suspend failed: %m\n");
return 1;
}
-
+
if (flag != 0)
{
puts ("thread created, should not have happened");
volatile sig_atomic_t flag;
-void
+static void
sighandler (const int signo)
{
flag = signo;
}
-int
+static int
wait_flag (void)
{
while (flag == 0)
}
-int
+static int
do_test (int argc, char *argv[])
{
char name[] = "/tmp/aio4.XXXXXX";
volatile sig_atomic_t flag;
-void
+static void
callback (sigval_t s)
{
flag = s.sival_int;
}
-int
+static int
wait_flag (void)
{
while (flag == 0)
}
-int
+static int
do_test (int argc, char *argv[])
{
char name[] = "/tmp/aio5.XXXXXX";
/* We expect to run at least 10 seconds. */
#define TIMEOUT 15
-int
+static int
clock_test (clockid_t cl)
{
struct timespec old_ts;
return result;
}
-int
+static int
do_test (void)
{
clockid_t cl;
}
-int
+static int
do_test (void)
{
int fd;
#include <setjmp.h>
#include <alloca.h>
-void
+static void
sub5 (jmp_buf buf)
{
longjmp (buf, 1);
}
-void
+static void
test (int x)
{
jmp_buf buf;
-/* Copyright (C) 1991, 1992, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1997, 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
static jmp_buf env;
static int last_value = -1, lose = 0;
-void
+static void
jump (int val)
{
longjmp (env, val);
int win = 0;
-void
+static void
handler (int sig)
{
printf ("Received signal %d (%s).\n", sig, strsignal(sig));
int required_precision = 13;
#if defined(__STDC__) || defined(__cplusplus)
-int matches(register char *result, register const char *desired)
+static int
+matches (register char *result, register const char *desired)
#else
int matches(result, desired)
register char *result; register const char *desired;
#define MAX_STRINGS 256
#define MAX_LINE_SIZE 32
-int
+static int
compare (const void *p1, const void *p2)
{
return strverscmp (*((char **) p1), *((char **) p2));
volatile int gotit = 0;
-void
+static void
alarm_handler (int signal)
{
gotit = 1;
{"16:30:46 2000-2-29", 0, {46, 30,16, 29, 1, 100, 0, 0, 0}}
};
-void
+static void
report_date_error (int err)
{
switch(err)
-/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
- Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998.
+ Contributed by Andreas Jaeger <aj@suse.de>, 1998.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
/* This string will be used for `putenv' calls. */
char envstring[100];
-void
+static void
print_tzvars (void)
{
printf ("tzname[0]: %s\n", tzname[0]);
}
-void
+static void
check_tzvars (const char *name, int dayl, int timez, const char *const tznam[])
{
int i;