aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorp37sitdu <devnull@localhost>2013-01-14 10:26:37 -0300
committerp37sitdu <devnull@localhost>2013-01-14 10:26:37 -0300
commitca42d0c0fa8267491cd5a1ade0421d48ee515060 (patch)
treeaf36971885b5f81357484620d8e9503b5baea06c
parent67ea60375228cf9e77ced0fad27cf1ca39a1a9ee (diff)
Remove unused function in dpid
-rw-r--r--dpid/dpid_common.c11
-rw-r--r--dpid/dpid_common.h2
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);