mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-17 08:33:48 +00:00
fix warning: a function declaration without a prototype is deprecated in all versions of C
This commit is contained in:
parent
5ee8f49002
commit
b812513696
@ -176,7 +176,7 @@ chatter_open(char *dev)
|
||||
return (0);
|
||||
}
|
||||
|
||||
chatter_close() {
|
||||
chatter_close(void) {
|
||||
if (close(chatter_fd) < 0) {
|
||||
perror("CHATTER CLOSE ERROR");
|
||||
return (-1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user