summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_command.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-24 13:53:05 +0000
committerbde <bde@FreeBSD.org>1995-11-24 13:53:05 +0000
commitc14aa7ae4820b9e50a391cdb2e5ed91d81933ccd (patch)
tree9b9a343f5650653a2c35073534d44bcf4fc7473c /sys/ddb/db_command.h
parentba625bb515e1769c43ed119ece85c666a475ae0d (diff)
downloadFreeBSD-src-c14aa7ae4820b9e50a391cdb2e5ed91d81933ccd.zip
FreeBSD-src-c14aa7ae4820b9e50a391cdb2e5ed91d81933ccd.tar.gz
Completed function declarations and/or added prototypes.
Removed `extern' from prototypes. Sorted prototypes. Uniformized idempotency ifdefs.
Diffstat (limited to 'sys/ddb/db_command.h')
-rw-r--r--sys/ddb/db_command.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/ddb/db_command.h b/sys/ddb/db_command.h
index 3b6d77a..d9906b4 100644
--- a/sys/ddb/db_command.h
+++ b/sys/ddb/db_command.h
@@ -23,11 +23,11 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_command.h,v 1.5 1994/08/18 22:34:21 wollman Exp $
+ * $Id: db_command.h,v 1.6 1995/05/30 07:56:54 rgrimes Exp $
*/
#ifndef _DDB_DB_COMMAND_H_
-#define _DDB_DB_COMMAND_H_ 1
+#define _DDB_DB_COMMAND_H_
/*
* Author: David B. Golub, Carnegie Mellon University
@@ -41,7 +41,7 @@
#include <sys/proc.h>
#include <machine/db_machdep.h>
-extern void db_command_loop();
+void db_command_loop __P((void));
extern db_addr_t db_dot; /* current location */
extern db_addr_t db_last_addr; /* last explicit address typed */
@@ -50,5 +50,4 @@ extern db_addr_t db_prev; /* last address examined
extern db_addr_t db_next; /* next address to be examined
or written */
-
-#endif /* _DDB_DB_COMMAND_H_ */
+#endif /* !_DDB_DB_COMMAND_H_ */
OpenPOWER on IntegriCloud