Changed multi-line C comments into another style.

The left side doesn't look unbalanced.
This commit is contained in:
Greg King
2014-06-30 05:10:35 -04:00
parent 132d57f1ad
commit 0390c34e88
502 changed files with 8869 additions and 8884 deletions

View File

@@ -64,10 +64,10 @@ static Collection FileInfos = STATIC_COLLECTION_INITIALIZER;
static int FindFileInfo (unsigned Name, unsigned* Index)
/* Find the FileInfo for a given file name. The function returns true if the
* name was found. In this case, Index contains the index of the first item
* that matches. If the item wasn't found, the function returns false and
* Index contains the insert position for FileName.
*/
** name was found. In this case, Index contains the index of the first item
** that matches. If the item wasn't found, the function returns false and
** Index contains the insert position for FileName.
*/
{
/* Do a binary search */
int Lo = 0;
@@ -87,8 +87,8 @@ static int FindFileInfo (unsigned Name, unsigned* Index)
} else {
Hi = Cur - 1;
/* Since we may have duplicates, repeat the search until we've
* the first item that has a match.
*/
** the first item that has a match.
*/
if (CurItem->Name == Name) {
Found = 1;
}
@@ -148,10 +148,10 @@ FileInfo* ReadFileInfo (FILE* F, ObjData* O)
if (FindFileInfo (Name, &Index)) {
/* We have at least one such entry. Try all of them and, if size and
* modification time matches, return the first match. When the loop
* is terminated without finding an entry, Index points one behind
* the last entry with the name, which is the perfect insert position.
*/
** modification time matches, return the first match. When the loop
** is terminated without finding an entry, Index points one behind
** the last entry with the name, which is the perfect insert position.
*/
FI = CollAt (&FileInfos, Index);
while (1) {
@@ -183,8 +183,8 @@ FileInfo* ReadFileInfo (FILE* F, ObjData* O)
CollAppend (&FI->Modules, O);
/* Insert the file info in our global list. Index points to the insert
* position.
*/
** position.
*/
CollInsert (&FileInfos, FI, Index);
/* Return the new struct */