X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fcrawl_folders.c;h=47327edd83ff8d0cf0ba5a48789670b17c5f7d87;hp=0185bd8344290966a7d8b63611693adf8e9c9491;hb=5ba9c2f13fedf1d8d6ed907ef1f505616290efaa;hpb=d3ba09a465cb0e5fc9a74d0b152a7ed965f895cb diff --git a/sbr/crawl_folders.c b/sbr/crawl_folders.c index 0185bd8..47327ed 100644 --- a/sbr/crawl_folders.c +++ b/sbr/crawl_folders.c @@ -9,11 +9,13 @@ #include #include #include +#include +#include struct crawl_context { int max; /* - ** how many folders we currently can hold in the array - ** `folders', increased by CRAWL_NUMFOLDERS at a time + ** number of folders we can hold in the folders array; + ** increased by CRAWL_NUMFOLDERS at a time */ int total; /* how many `folders' actually has */ char **folders; /* the array of folders */ @@ -29,7 +31,7 @@ struct crawl_context { static void add_folder(char *fold, struct crawl_context *crawl) { - register int i, j; + int i, j; /* if necessary, reallocate the space for folder names */ if (crawl->foldp >= crawl->max) {