From 41fde4795277fec5a57ecb6d43d9b39123739c3f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 6 Feb 2019 23:23:22 -0500 Subject: Turn on -Wstrict-prototypes --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 3c19092..066061d 100644 --- a/main.c +++ b/main.c @@ -28,7 +28,7 @@ * future open() calls may use those file descriptors, and std{in,out,err} will * use them unintentionally. */ -static int open_std_streams() { +static int open_std_streams(void) { #ifdef O_PATH const int inflags = O_PATH, outflags = O_PATH; #else -- cgit v1.2.3