diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2005-11-01 22:11:18 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2005-11-01 22:11:18 +0000 |
commit | fba7fc7e34e95963b681b882698b951b35d1ba48 (patch) | |
tree | 4450b2c84d749dd8a8425a8feb88b084809f6ef0 /sys/contrib/dev/acpica/dbhistry.c | |
parent | 28f22a242b27179668329edee7235b98ed7e2af9 (diff) | |
download | src-fba7fc7e34e95963b681b882698b951b35d1ba48.tar.gz src-fba7fc7e34e95963b681b882698b951b35d1ba48.zip |
Notes
Diffstat (limited to 'sys/contrib/dev/acpica/dbhistry.c')
-rw-r--r-- | sys/contrib/dev/acpica/dbhistry.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/contrib/dev/acpica/dbhistry.c b/sys/contrib/dev/acpica/dbhistry.c index 68b26b30d926..161d38972bf2 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 */ |