aboutsummaryrefslogtreecommitdiff
path: root/assert
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-05 08:17:58 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-05 08:17:58 +0000
commitcf3141a59dc73a8082a701c8f16842adab4ab09a (patch)
tree28baa08ec26885a2f67ceb400f16812d54f8570f /assert
parentd6f1fe47aa10f51e7c630904e3605d0d04b43b42 (diff)
downloadglibc-cf3141a59dc73a8082a701c8f16842adab4ab09a.zip
glibc-cf3141a59dc73a8082a701c8f16842adab4ab09a.tar.gz
glibc-cf3141a59dc73a8082a701c8f16842adab4ab09a.tar.bz2
Update.
2000-12-05 Andreas Jaeger <aj@suse.de> * nss/test-netdb.c: Mark local functions as static to avoid warnings. (main): Use return to silence warning. * stdlib/test-canon.c (check_path): Mark as static to avoid warning. * stdio-common/test-popen.c: Mark local functions as static to avoid warnings. (main): Use return to silence warning. * stdlib/testsort.c (compare): Mark as static to avoid warning. * assert/test-assert.c: Mark local functions as static to avoid warnings. * assert/test-assert-perr.c: Likewise. * math/libm-test.inc (main): Use return to silence warnings.
Diffstat (limited to 'assert')
-rw-r--r--assert/test-assert-perr.c8
-rw-r--r--assert/test-assert.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/assert/test-assert-perr.c b/assert/test-assert-perr.c
index 824c1a9..8496db6 100644
--- a/assert/test-assert-perr.c
+++ b/assert/test-assert-perr.c
@@ -14,7 +14,7 @@
jmp_buf rec;
char buf[160];
-void
+static void
sigabrt (int unused)
{
longjmp (rec, 1); /* recover control */
@@ -22,13 +22,13 @@ sigabrt (int unused)
#undef NDEBUG
#include <assert.h>
-void
+static void
assert1 (void)
{
assert_perror (1);
}
-void
+static void
assert2 (void)
{
assert_perror (0);
@@ -36,7 +36,7 @@ assert2 (void)
#define NDEBUG
#include <assert.h>
-void
+static void
assert3 (void)
{
assert_perror (2);
diff --git a/assert/test-assert.c b/assert/test-assert.c
index 045721e..26b58d4 100644
--- a/assert/test-assert.c
+++ b/assert/test-assert.c
@@ -14,7 +14,7 @@
jmp_buf rec;
char buf[160];
-void
+static void
sigabrt (int unused)
{
longjmp (rec, 1); /* recover control */
@@ -22,13 +22,13 @@ sigabrt (int unused)
#undef NDEBUG
#include <assert.h>
-void
+static void
assert1 (void)
{
assert (1 == 2);
}
-void
+static void
assert2 (void)
{
assert (1 == 1);
@@ -37,7 +37,7 @@ assert2 (void)
#define NDEBUG
#include <assert.h>
-void
+static void
assert3 (void)
{
assert (2 == 3);