kernel/acpica/compiler/cvcompiler.c
/*******************************************************************************
 *
 * FUNCTION:    CvAddToCommentList
 *
 * PARAMETERS:  ToAdd              - Contains the comment to be inserted
 *
 * RETURN:      None
 *
 * DESCRIPTION: Add the given char* to a list of comments in the global list
 *              of comments.
 *
 ******************************************************************************/
CvAddToCommentList
PARAMETERS:  ToAdd              - Contains the comment to be inserted

None

Add the given char* to a list of comments in the global list
of comments.
CvAddToCommentList PARAMETERS : ToAdd - Contains the comment to be inserted None Add the given char * to a list of comments in the global list of comments .
void
CvAddToCommentList (
    char                    *ToAdd)
{
   if (Gbl_CommentListHead)
   {
       Gbl_CommentListTail->Next = CvCommentNodeCalloc ();
       Gbl_CommentListTail = Gbl_CommentListTail->Next;
   }
   else
   {
       Gbl_CommentListHead = CvCommentNodeCalloc ();
       Gbl_CommentListTail = Gbl_CommentListHead;
   }
   Gbl_CommentListTail->Comment = ToAdd;
}
void CvAddToCommentList ( char * ToAdd ) { if ( Gbl_CommentListHead ) { Gbl_CommentListTail -> Next = CvCommentNodeCalloc ( ) ; Gbl_CommentListTail = Gbl_CommentListTail -> Next ; } else { Gbl_CommentListHead = CvCommentNodeCalloc ( ) ; Gbl_CommentListTail = Gbl_CommentListHead ; } Gbl_CommentListTail -> Comment = ToAdd ; }
FUNCTION:    CvAddToCommentList
 PARAMETERS:  ToAdd              - Contains the comment to be inserted
FUNCTION : CvAddToCommentList PARAMETERS : ToAdd - Contains the comment to be inserted