1
0
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:
Nick Briggs 2022-12-11 18:35:12 -08:00
parent 5ee8f49002
commit b812513696

View File

@ -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);