drop unused includes from userfunc
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 27 Nov 2018 15:06:22 +0000 (16:06 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 18 Dec 2018 11:57:26 +0000 (12:57 +0100)
Ironically, despite the duplicate include the userfunc routines
never even check errno at all.

src/userfunc.cpp

index eeeeab5..6da4efe 100644 (file)
@@ -34,11 +34,9 @@ on this file might be covered by the GNU General Public License.
 
 #include <unistd.h>
 #include <signal.h>
-#include <errno.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <dirent.h>
-#include <errno.h>
 #include <pwd.h>
 #include <grp.h>