summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/dbhistry.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/dbhistry.c')
-rw-r--r--sys/contrib/dev/acpica/dbhistry.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/contrib/dev/acpica/dbhistry.c b/sys/contrib/dev/acpica/dbhistry.c
index 68b26b3..161d389 100644
--- a/sys/contrib/dev/acpica/dbhistry.c
+++ b/sys/contrib/dev/acpica/dbhistry.c
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: dbhistry - debugger HISTORY command
- * $Revision: 29 $
+ * $Revision: 1.32 $
*
*****************************************************************************/
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2005, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -163,7 +163,8 @@ AcpiDbAddToHistory (
/* Put command into the next available slot */
- ACPI_STRCPY (AcpiGbl_HistoryBuffer[AcpiGbl_NextHistoryIndex].Command, CommandLine);
+ ACPI_STRCPY (AcpiGbl_HistoryBuffer[AcpiGbl_NextHistoryIndex].Command,
+ CommandLine);
AcpiGbl_HistoryBuffer[AcpiGbl_NextHistoryIndex].CmdNum = AcpiGbl_NextCmdNum;
@@ -206,7 +207,8 @@ AcpiDbAddToHistory (
******************************************************************************/
void
-AcpiDbDisplayHistory (void)
+AcpiDbDisplayHistory (
+ void)
{
ACPI_NATIVE_UINT i;
UINT16 HistoryIndex;
@@ -237,7 +239,7 @@ AcpiDbDisplayHistory (void)
* PARAMETERS: CommandNumArg - String containing the number of the
* command to be retrieved
*
- * RETURN: None
+ * RETURN: Pointer to the retrieved command. Null on error.
*
* DESCRIPTION: Get a command from the history buffer
*
@@ -286,6 +288,5 @@ AcpiDbGetFromHistory (
return (NULL);
}
-
#endif /* ACPI_DEBUGGER */
OpenPOWER on IntegriCloud