git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
053b38f
)
drop unused includes from userfunc
author
Philipp Gesang
<philipp.gesang@intra2net.com>
Tue, 27 Nov 2018 15:06:22 +0000 (16:06 +0100)
committer
Thomas 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
patch
|
blob
|
blame
|
history
diff --git
a/src/userfunc.cpp
b/src/userfunc.cpp
index
eeeeab5
..
6da4efe
100644
(file)
--- a/
src/userfunc.cpp
+++ b/
src/userfunc.cpp
@@
-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>