This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
The appended patch gets rid of these warnings:
../sysdeps/generic/unwind-pe.h:67: warning: no previous prototype for `size_of_encoded_value'
../sysdeps/generic/unwind-pe.h:131: warning: no previous prototype for `read_encoded_value_with_base'
../sysdeps/generic/unwind-dw2-fde-glibc.c:253: warning: no previous prototype for `_Unwind_Find_FDE'
Ok to commit?
Andreas
2002-03-17 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/unwind-dw2-fde-glibc.c: Add prototypes.
* sysdeps/generic/unwind-pe.h: Likewise.
============================================================
Index: sysdeps/generic/unwind-pe.h
--- sysdeps/generic/unwind-pe.h 16 Nov 2001 01:19:30 -0000 1.1
+++ sysdeps/generic/unwind-pe.h 17 Mar 2002 09:12:00 -0000
@@ -1,5 +1,5 @@
/* Exception handling and frame unwind runtime interface routines.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -51,6 +51,16 @@
#define DW_EH_PE_indirect 0x80
+
+#ifdef _LIBC
+/* Prototypes. */
+extern unsigned int size_of_encoded_value (unsigned char encoding);
+extern const unsigned char *read_encoded_value_with_base
+ (unsigned char encoding, _Unwind_Ptr base,
+ const unsigned char *p, _Unwind_Ptr *val);
+#endif
+
+
/* Given an encoding, return the number of bytes the format occupies.
This is only defined for fixed-size encodings, and so does not
============================================================
Index: sysdeps/generic/unwind-dw2-fde-glibc.c
--- sysdeps/generic/unwind-dw2-fde-glibc.c 8 Jan 2002 06:21:28 -0000 1.1
+++ sysdeps/generic/unwind-dw2-fde-glibc.c 17 Mar 2002 09:13:48 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2002 Free Software Foundation, Inc.
Contributed by Jakub Jelinek <jakub@redhat.com>.
This file is part of GNU CC.
@@ -44,7 +44,9 @@
#undef _Unwind_Find_FDE
-fde * _Unwind_Find_registered_FDE (void *pc, struct dwarf_eh_bases *bases);
+extern fde * _Unwind_Find_registered_FDE (void *pc,
+ struct dwarf_eh_bases *bases);
+extern fde * _Unwind_Find_FDE (void *, struct dwarf_eh_bases *);
struct unw_eh_callback_data
{
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |