aboutsummaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-17 19:27:08 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-17 19:27:08 +0000
commit41102740fba12515ac75cc4169b8809085a9624f (patch)
tree561bb295b011d5c461aa2cd42efd7b84a7474571 /debug
parent8a1f658bd783e625d947933b6603dbcedb31f75b (diff)
downloadglibc-41102740fba12515ac75cc4169b8809085a9624f.zip
glibc-41102740fba12515ac75cc4169b8809085a9624f.tar.gz
glibc-41102740fba12515ac75cc4169b8809085a9624f.tar.bz2
Update.
* catgets/nl_types.h: Likewise. * crypt/crypt.h: Likewise. * debug/execinfo.h: Likewise.
Diffstat (limited to 'debug')
-rw-r--r--debug/execinfo.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/debug/execinfo.h b/debug/execinfo.h
index a42859d..0ea5f67 100644
--- a/debug/execinfo.h
+++ b/debug/execinfo.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2004 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
@@ -25,19 +25,20 @@ __BEGIN_DECLS
/* Store up to SIZE return address of the current program state in
ARRAY and return the exact number of values stored. */
-extern int backtrace (void **__array, int __size) __THROW;
+extern int backtrace (void **__array, int __size) __THROW __nonnull ((1));
/* Return names of functions from the backtrace list in ARRAY in a newly
malloc()ed memory block. */
-extern char **backtrace_symbols (void *__const *__array, int __size) __THROW;
+extern char **backtrace_symbols (void *__const *__array, int __size)
+ __THROW __nonnull ((1));
/* This function is similar to backtrace_symbols() but it writes the result
immediately to a file and can therefore also be used in situations where
malloc() is not usable anymore. */
extern void backtrace_symbols_fd (void *__const *__array, int __size,
- int __fd) __THROW;
+ int __fd) __THROW __nonnull ((1));
__END_DECLS