Fixed warning.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17801 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-06-12 21:53:00 +00:00
parent 2e52b7bfac
commit d367028c04
+5 -3
View File
@@ -32,6 +32,8 @@
#include <syslog.h>
int kgets(char *buffer, int length);
typedef struct debugger_command {
struct debugger_command *next;
int (*func)(int, char **);
@@ -257,10 +259,10 @@ read_line(char *buffer, int32 maxLength)
}
extern int
kgets(char *buf, int len)
int
kgets(char *buffer, int length)
{
return read_line(buf, len);
return read_line(buffer, length);
}