d90f7fb5e4c32a447387691539145045c609b5b9 kent Thu Apr 25 09:34:50 2013 -0700 Removing useless shuffleCount parameter from shuffleList, shuffleArrayOfChars and shuffleArrayOfPointers functions in response to code review feedback. diff --git src/inc/obscure.h src/inc/obscure.h index 9fc90ae..cf900a3 100644 --- src/inc/obscure.h +++ src/inc/obscure.h @@ -123,38 +123,37 @@ * 1-this1=val1 2-this='quoted val2' var3="another val" * If firstStartsWithLetter is true, then the left side of the equals must start with * and equals. */ struct hash *hashWordsInFile(char *fileName, int hashSize); /* Create a hash of space delimited words in file. * hashSize is as in hashNew() - pass 0 for default. */ struct hash *hashNameIntFile(char *fileName); /* Given a two column file (name, integer value) return a * hash keyed by name with integer values */ struct hash *hashTwoColumnFile(char *fileName); /* Given a two column file (key, value) return a hash. */ -void shuffleArrayOfChars(char *array, int arraySize, int shuffleCount); +void shuffleArrayOfChars(char *array, int arraySize); /* Shuffle array of characters of given size given number of times. */ -void shuffleArrayOfPointers(void *pointerArray, int arraySize, - int shuffleCount); +void shuffleArrayOfPointers(void *pointerArray, int arraySize); /* Shuffle array of pointers of given size given number of times. */ -void shuffleList(void *pList, int shuffleCount); +void shuffleList(void *pList); /* Randomize order of slList. Usage: * shuffleList(&list) * where list is a pointer to a structure that * begins with a next field. */ char *stripCommas(char *position); /* make a new string with commas stripped out */ void dotForUserInit(int dotMod); /* Set how often dotForUser() outputs a dot. */ void dotForUser(); /* Write out a dot every _dotForUserMod times this is called. */ void spaceToUnderbar(char *s);