mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
- Provide better understandable COMMENT text - Remove USES=gmake, builds with any make(1) implementation now - Add a patch to fix compilation warnings exposed by Clang - Install couple of documentation files - Transfer maintainership to the submitter PR: 199311
19 lines
342 B
C
19 lines
342 B
C
--- showkey.c.orig 2012-03-03 16:44:46 UTC
|
|
+++ showkey.c
|
|
@@ -11,6 +11,7 @@
|
|
#include <string.h>
|
|
#include <stdbool.h>
|
|
#include <stdlib.h>
|
|
+#include <unistd.h>
|
|
|
|
#define ALT 0x80
|
|
#define ESC 0x1b
|
|
@@ -80,7 +81,7 @@ static void visualize(int c, /*@out@*/ch
|
|
}
|
|
|
|
|
|
-main()
|
|
+int main()
|
|
{
|
|
struct termios cooked, raw;
|
|
unsigned char c;
|