--- libwww/Library/src/HTMulti.c 1995/11/05 20:13:25 2.22 +++ libwww/Library/src/HTMulti.c 1995/11/20 00:14:41 2.23 @@ -28,8 +28,7 @@ PRIVATE HTList * welcome_names = NULL; / ** Return the number of parts placed to the array. ** Array should have MAX_SUFF+1 items. */ -PRIVATE int HTSplitFilename ARGS2(char *, s_str, - char **, s_arr) +PRIVATE int HTSplitFilename (char * s_str, char ** s_arr) { CONST char *delimiters = HTBind_delimiters(); char * start = s_str; @@ -55,7 +54,7 @@ PRIVATE int HTSplitFilename ARGS2(char * /* ** Set default file name for welcome page on each directory. */ -PUBLIC void HTAddWelcome ARGS1(char *, name) +PUBLIC void HTAddWelcome (char * name) { if (name) { char * mycopy = NULL; @@ -75,10 +74,7 @@ PUBLIC void HTAddWelcome ARGS1(char *, n ** Check if actual filename (split in parts) fulfills ** the requirements. */ -PRIVATE BOOL multi_match ARGS4(char **, required, - int, m, - char **, actual, - int, n) +PRIVATE BOOL multi_match (char ** required, int m, char ** actual, int n) { int c; int i,j; @@ -120,7 +116,7 @@ PRIVATE BOOL multi_match ARGS4(char **, ** describing the mathing files. ** */ -PRIVATE HTList * dir_matches ARGS1(char *, path) +PRIVATE HTList * dir_matches (char * path) { static char * required[MAX_SUFF+1]; static char * actual[MAX_SUFF+1]; @@ -212,8 +208,7 @@ PRIVATE HTList * dir_matches ARGS1(char ** On exit: ** returns a newly allocated absolute filepath. */ -PRIVATE char * HTGetBest ARGS2(HTRequest *, req, - char *, path) +PRIVATE char * HTGetBest (HTRequest * req, char * path) { HTList * matches; HTList * cur; @@ -277,7 +272,7 @@ PRIVATE char * HTGetBest ARGS2(HTRequest -PRIVATE int welcome_value ARGS1(char *, name) +PRIVATE int welcome_value (char * name) { HTList * cur = welcome_names; char * welcome; @@ -292,7 +287,7 @@ PRIVATE int welcome_value ARGS1(char *, -PRIVATE char * get_best_welcome ARGS1(char *, path) +PRIVATE char * get_best_welcome (char * path) { char * best_welcome = NULL; int best_value = 0; @@ -365,9 +360,9 @@ PRIVATE char * get_best_welcome ARGS1(ch ** stat_info will contain inode information as ** returned by stat(). */ -PUBLIC char * HTMulti ARGS3(HTRequest *, req, - char *, path, - struct stat *, stat_info) +PUBLIC char * HTMulti (HTRequest * req, + char * path, + struct stat * stat_info) { char * new_path = NULL; int stat_status = -1;