Back to index

courier  0.68.2
Functions
removecomments.c File Reference

Go to the source code of this file.

Functions

void removecomments (char *p)

Function Documentation

void removecomments ( char *  p)

Definition at line 8 of file removecomments.c.

{
char *q;

       for (q=p; *p; )
       {
              if (*p == '#')
                     while (*p && *p != '\n')
                            p++;
              *q++= *p;
              if (*p)       p++;
       }
       *q=0;
}

Here is the caller graph for this function: