OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc_anal.c versions 1.18 and 1.19
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc_anal.c 1.18 -> 1.19

--- rc_anal.c    2003/05/28 15:09:29     1.18
+++ rc_anal.c    2003/05/28 19:03:25     1.19
@@ -29,11 +29,11 @@
 
 #include <stdlib.h>
 #include <string.h>
+#include <dirent.h>
 
 #include "rc.h"         /* Public interfaces        */
 #include "rc_const.h"   /* String constants         */
 #include "rc_config.h"  /* Configuration interface  */
-#include "rc_anal.h"    /* Anal specific headers    */
 
 
 /************************************************
@@ -163,20 +163,6 @@
     return(RC_THROW(RC_OK));
 }
 
-/***************************************************************
-* int analFileselect(struct dirent *Direntry)                  *
-* Calculate whether a directory entry belongs to a defined set *
-***************************************************************/
-int analFileselect(struct dirent *Direntry)
-{
-    if ((Direntry->d_name != NULL) && (strncmp(Direntry->d_name, "rc.", 3) == 0))
-        return (TRUE);
-    else if ((strcmp(Direntry->d_name, ".") == 0) || (strcmp(Direntry->d_name, "..") == 0))
-        return (FALSE);
-    else /* Catchall returns false for all not met set conditions */
-        return (FALSE);
-}
-
 /************************************************
 * analGloblocs(rc_anal_t **ppInst)              *
 * Glob all files of the location directories    *

CVSTrac 2.0.1