]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(struct layout): Delete definition; include the above file instead.
authorUlrich Drepper <drepper@redhat.com>
Thu, 6 Jan 2000 00:05:21 +0000 (00:05 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 6 Jan 2000 00:05:21 +0000 (00:05 +0000)
sysdeps/generic/segfault.c

index b1bb178d7a7259a813c85a550c61b4a4d806b195..41e3aa54d8d1cc4de72aaa2c4d82cdc7f190160a 100644 (file)
@@ -28,6 +28,9 @@
 #include <unistd.h>
 #include <stdio-common/_itoa.h>
 
+/* Get the definition of "struct layout".  */
+#include <frame.h>
+
 /* This file defines macros to access the content of the sigcontext element
    passed up by the signal handler.  */
 #include <sigcontextinfo.h>
@@ -72,14 +75,6 @@ extern void *__libc_stack_end;
 /* We'll use tis a lot.  */
 #define WRITE_STRING(s) write (fd, s, strlen (s))
 
-
-struct layout
-{
-  void *next;
-  void *return_address;
-};
-
-
 /* Name of the output file.  */
 static const char *fname;