chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: fix typos
[elogind.git]
/
src
/
shared
/
fdset.c
diff --git
a/src/shared/fdset.c
b/src/shared/fdset.c
index 9e35ce5cecc55b00e36093c26d26f0b587230dc4..6101b628ec2fd245656c50e01324f6ee6cf7c0af 100644
(file)
--- a/
src/shared/fdset.c
+++ b/
src/shared/fdset.c
@@
-22,7
+22,6
@@
#include <errno.h>
#include <dirent.h>
#include <fcntl.h>
#include <errno.h>
#include <dirent.h>
#include <fcntl.h>
-#include <unistd.h>
#include "set.h"
#include "util.h"
#include "set.h"
#include "util.h"
@@
-33,7
+32,7
@@
#define MAKE_SET(s) ((Set*) s)
#define MAKE_FDSET(s) ((FDSet*) s)
#define MAKE_SET(s) ((Set*) s)
#define MAKE_FDSET(s) ((FDSet*) s)
-/* Make sure we can dist
uing
ish fd 0 and NULL */
+/* Make sure we can dist
ingu
ish fd 0 and NULL */
#define FD_TO_PTR(fd) INT_TO_PTR((fd)+1)
#define PTR_TO_FD(p) (PTR_TO_INT(p)-1)
#define FD_TO_PTR(fd) INT_TO_PTR((fd)+1)
#define PTR_TO_FD(p) (PTR_TO_INT(p)-1)