summaryrefslogtreecommitdiff
path: root/sys/ddb/db_sym.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-11 07:44:44 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-11 07:44:44 +0000
commit38d4d8f0e7d0629459f8103cac4b6436f532efd1 (patch)
tree12422f8629a52c205acac989b8795ca041cd2833 /sys/ddb/db_sym.h
parent76242ad5ccbbf411a0dfd66daab39d9a460c09dc (diff)
Include sys/queue.h, and add multiple include protection
Diffstat (limited to 'sys/ddb/db_sym.h')
-rw-r--r--sys/ddb/db_sym.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/ddb/db_sym.h b/sys/ddb/db_sym.h
index a1ff4df586e..9091c38a72c 100644
--- a/sys/ddb/db_sym.h
+++ b/sys/ddb/db_sym.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_sym.h,v 1.6 1996/05/10 13:58:44 mickey Exp $ */
+/* $OpenBSD: db_sym.h,v 1.7 1996/05/11 07:44:43 niklas Exp $ */
/* $NetBSD: db_sym.h,v 1.7 1996/02/05 01:57:16 christos Exp $ */
/*
@@ -30,9 +30,15 @@
* Date: 8/90
*/
+#ifndef _DDB_DB_SYM_
+#define _DDB_DB_SYM_
+
/*
* This module can handle multiple symbol tables
*/
+
+#include <sys/queue.h>
+
typedef struct db_symtab {
TAILQ_ENTRY(db_symtab) list; /* all the tabs */
char *name; /* symtab name */
@@ -115,3 +121,5 @@ int db_sym_numargs __P((db_sym_t, int *, char **));
/* db_hangman.c */
void db_hangman __P((db_expr_t, int, db_expr_t, char *));
+
+#endif /* _DDB_DB_SYM_H_ */