Make all headers idempotent. All incorrect common data moved out of header
authorGarrett Wollman <wollman@FreeBSD.org>
Sun, 7 Nov 1993 17:39:25 +0000 (17:39 +0000)
committerGarrett Wollman <wollman@FreeBSD.org>
Sun, 7 Nov 1993 17:39:25 +0000 (17:39 +0000)
files and into a related source file.

sys/ddb/db_access.h
sys/ddb/db_command.h
sys/ddb/db_lex.h
sys/ddb/db_output.h
sys/ddb/db_sym.h

index 2fe5e10..a62edba 100644 (file)
  * any improvements or extensions that they make and grant Carnegie the
  * rights to redistribute these changes.
  *
  * any improvements or extensions that they make and grant Carnegie the
  * rights to redistribute these changes.
  *
- *     $Id$
+ *     $Id: db_access.h,v 1.2 1993/10/16 16:47:05 rgrimes Exp $
  */
 
  */
 
+#ifndef _DDB_DB_ACCESS_H_
+#define _DDB_DB_ACCESS_H_ 1
+
 /*
  *     Author: David B. Golub, Carnegie Mellon University
  *     Date:   7/90
 /*
  *     Author: David B. Golub, Carnegie Mellon University
  *     Date:   7/90
@@ -41,3 +44,4 @@ extern db_expr_t db_get_value(/* db_addr_t addr,
 extern void     db_put_value(/* db_addr_t addr,
                                 int size,
                                 db_expr_t value */);
 extern void     db_put_value(/* db_addr_t addr,
                                 int size,
                                 db_expr_t value */);
+#endif /* _DDB_DB_ACCESS_H_ */
index 191d733..a883e63 100644 (file)
  * any improvements or extensions that they make and grant Carnegie the
  * rights to redistribute these changes.
  *
  * any improvements or extensions that they make and grant Carnegie the
  * rights to redistribute these changes.
  *
- *     $Id$
+ *     $Id: db_command.h,v 1.2 1993/10/16 16:47:12 rgrimes Exp $
  */
 
  */
 
+#ifndef _DDB_DB_COMMAND_H_
+#define _DDB_DB_COMMAND_H_ 1
+
 /*
  *     Author: David B. Golub, Carnegie Mellon University
  *     Date:   7/90
 /*
  *     Author: David B. Golub, Carnegie Mellon University
  *     Date:   7/90
@@ -51,3 +54,4 @@ extern db_addr_t      db_next;        /* next address to be examined
                                           or written */
 
 
                                           or written */
 
 
+#endif /* _DDB_DB_COMMAND_H_ */
index 98c3747..e2f224e 100644 (file)
  * any improvements or extensions that they make and grant Carnegie the
  * rights to redistribute these changes.
  *
  * any improvements or extensions that they make and grant Carnegie the
  * rights to redistribute these changes.
  *
- *     $Id$
+ *     $Id: db_lex.h,v 1.2 1993/10/16 16:47:19 rgrimes Exp $
  */
 
  */
 
+#ifndef _DDB_DB_LEX_H_
+#define _DDB_DB_LEX_H_ 1
+
 /*
  *     Author: David B. Golub, Carnegie Mellon University
  *     Date:   7/90
 /*
  *     Author: David B. Golub, Carnegie Mellon University
  *     Date:   7/90
@@ -71,3 +74,4 @@ extern int    db_radix;
 
 
 
 
 
 
+#endif /* _DDB_DB_LEX_H_ */
index e0e3455..fb4ae67 100644 (file)
  * any improvements or extensions that they make and grant Carnegie the
  * rights to redistribute these changes.
  *
  * any improvements or extensions that they make and grant Carnegie the
  * rights to redistribute these changes.
  *
- *     $Id$
+ *     $Id: db_output.h,v 1.2 1993/10/16 16:47:21 rgrimes Exp $
  */
 
  */
 
+#ifndef _DDB_DB_OUTPUT_H_
+#define _DDB_DB_OUTPUT_H_ 1
+
 /*
  *     Author: David B. Golub, Carnegie Mellon University
  *     Date:   8/90
 /*
  *     Author: David B. Golub, Carnegie Mellon University
  *     Date:   8/90
@@ -39,3 +42,4 @@ extern void   db_force_whitespace();
 extern int     db_print_position();
 extern void    db_end_line();
 extern int     db_printf();
 extern int     db_print_position();
 extern void    db_end_line();
 extern int     db_printf();
+#endif /* _DDB_DB_OUTPUT_H_ */
index bc17bd0..a256b79 100644 (file)
  * any improvements or extensions that they make and grant Carnegie the
  * rights to redistribute these changes.
  *
  * any improvements or extensions that they make and grant Carnegie the
  * rights to redistribute these changes.
  *
- *     $Id$
+ *     $Id: db_sym.h,v 1.2 1993/10/16 16:47:27 rgrimes Exp $
  */
 
  */
 
+#ifndef _DDB_DB_SYM_H_
+#define _DDB_DB_SYM_H_ 1
+
 /*
  *     Author: Alessandro Forin, Carnegie Mellon University
  *     Date:   8/90
 /*
  *     Author: Alessandro Forin, Carnegie Mellon University
  *     Date:   8/90
@@ -96,3 +99,4 @@ extern int    db_eqname(/* char*, char*, char */);
 
 extern void    db_printsym(/* db_expr_t, db_strategy_t */);
                                        /* print closest symbol to a value */
 
 extern void    db_printsym(/* db_expr_t, db_strategy_t */);
                                        /* print closest symbol to a value */
+#endif /* _DDB_DB_SYM_H_ */