From: Andre Noll Date: Sat, 3 Jan 2015 21:36:17 +0000 (+0000) Subject: Make fd.c and select.c include their own header file. X-Git-Tag: v1.0.0~5 X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=commitdiff_plain;h=031d6a8818a348e0b54d955d2c14705ddc479d31 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. --- 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 */