summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-02-06 23:23:22 -0500
committerTavian Barnes <tavianator@tavianator.com>2019-02-06 23:23:22 -0500
commit41fde4795277fec5a57ecb6d43d9b39123739c3f (patch)
tree8cf844280d5c68f65435d853d3514f2118d17cc2 /main.c
parent010a755370eeb7450c0def58a8d5830ddcca7938 (diff)
downloadbfs-41fde4795277fec5a57ecb6d43d9b39123739c3f.tar.xz
Turn on -Wstrict-prototypes
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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