From 031d6a8818a348e0b54d955d2c14705ddc479d31 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 3 Jan 2015 21:36:17 +0000 Subject: [PATCH] Make fd.c and select.c include their own header file. This helps to spot bugs where declaration and implementation differ. Fortunately, there is so such bug in adu, but it's a good thing (TM) to let the compiler error out in this case. --- fd.c | 1 + select.c | 1 + 2 files changed, 2 insertions(+) diff --git a/fd.c b/fd.c index 66b3cc0..7984356 100644 --- a/fd.c +++ b/fd.c @@ -14,6 +14,7 @@ #include "adu.h" #include "error.h" #include "string.h" +#include "fd.h" /** * Wrapper for the write system call. diff --git a/select.c b/select.c index 4e11e7f..e000992 100644 --- a/select.c +++ b/select.c @@ -19,6 +19,7 @@ #include "error.h" #include "user.h" #include "select.cmdline.h" +#include "select.h" /** \cond */ /* global list */ -- 2.39.5