version 1.7 | | version 1.8 |
---|
| | |
/* | | /* |
* static char *rcsid_style_c = | | * static char *rcsid_style_c = |
* "$Id: style.c,v 1.7 2000/11/17 05:07:49 cvs Exp $"; | | * "$Id: style.c,v 1.8 2000/12/04 00:40:05 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
/* the warning here is because I've declared it "const", the | | /* the warning here is because I've declared it "const", the |
.h file in linux allows non-const. */ | | .h file in linux allows non-const. */ |
int select_regular_files(struct dirent *the_entry) { | | int select_regular_files(const struct dirent *the_entry) { |
if(the_entry->d_name[0]=='.') return 0; | | if(the_entry->d_name[0]=='.') return 0; |
if(strstr(the_entry->d_name,"CVS")) return 0; | | if(strstr(the_entry->d_name,"CVS")) return 0; |
return 1; | | return 1; |