aboutsummaryrefslogtreecommitdiff
path: root/misc/insremque.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-03-01 06:28:14 +0000
committerRoland McGrath <roland@gnu.org>1995-03-01 06:28:14 +0000
commit30e77772456f3d31373bf1bd002af5b498496e08 (patch)
treee7613c50583726e92d86edb441869d1971ee299a /misc/insremque.c
parente32a795748e59aaedd7d034dcdbf6fffb2f17f80 (diff)
downloadglibc-30e77772456f3d31373bf1bd002af5b498496e08.zip
glibc-30e77772456f3d31373bf1bd002af5b498496e08.tar.gz
glibc-30e77772456f3d31373bf1bd002af5b498496e08.tar.bz2
Wed Mar 1 00:57:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* misc/search.h: New file. * misc/Makefile (headers): Add search.h. * misc/insremque.c: Include search.h. (struct qelem): Type removed.
Diffstat (limited to 'misc/insremque.c')
-rw-r--r--misc/insremque.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/misc/insremque.c b/misc/insremque.c
index d3b9370..2658397 100644
--- a/misc/insremque.c
+++ b/misc/insremque.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 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
@@ -18,13 +18,7 @@ Cambridge, MA 02139, USA. */
#include <ansidecl.h>
#include <stddef.h>
-
-struct qelem
- {
- struct qelem *q_forw;
- struct qelem *q_back;
- char q_data[1];
- };
+#include <search.h>
/* Insert ELEM into a doubly-linked list, after PREV. */