diff options
-rw-r--r-- | dpid/dpid_common.c | 11 | ||||
-rw-r--r-- | dpid/dpid_common.h | 2 |
2 files changed, 0 insertions, 13 deletions
diff --git a/dpid/dpid_common.c b/dpid/dpid_common.c index 04e95a7d..23b49397 100644 --- a/dpid/dpid_common.c +++ b/dpid/dpid_common.c @@ -24,17 +24,6 @@ void errmsg(char *caller, char *called, int errornum, char *file, int line) MSG_ERR("%s\n", dStrerror(errornum)); } -/*! Selector function for scandir - * Do not scan files starting with '.' - */ -int no_dotfiles(const struct dirent *filedat) -{ - if (filedat->d_name[0] == '.') - return 0; - else - return 1; -} - /*! * Provides an error checked write command. * Call this via the CKD_WRITE macro diff --git a/dpid/dpid_common.h b/dpid/dpid_common.h index ed886e19..cc7505a9 100644 --- a/dpid/dpid_common.h +++ b/dpid/dpid_common.h @@ -54,8 +54,6 @@ enum file_type { void errmsg(char *caller, char *called, int errornum, char *file, int line); -int no_dotfiles(const struct dirent *filedat); - ssize_t ckd_write(int fd, char *msg, char *file, int line); ssize_t ckd_close(int fd, char *file, int line); |