mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-16 01:42:39 +00:00
hv: treewide: fix 'Prototype and definition name mismatch'
Fix the parameter name mismatch between API declaration and definition. v2 -> v3: * Fix two more violations which are missed in previous report. shell_puts and console_write v1 -> v2: * Replace 'ret_desc' with 'desc' Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
@@ -18,14 +18,14 @@ void console_init(void);
|
||||
|
||||
/** Writes a given number of characters to the console.
|
||||
*
|
||||
* @param str A pointer to character array to write.
|
||||
* @param s A pointer to character array to write.
|
||||
* @param len The number of characters to write.
|
||||
*
|
||||
* @return The number of characters written or -1 if an error occurred
|
||||
* and no character was written.
|
||||
*/
|
||||
|
||||
int console_write(const char *s_arg, size_t len);
|
||||
int console_write(const char *s, size_t len);
|
||||
|
||||
/** Writes a single character to the console.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user