Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

static void remove_colon_from_string ( char *  str ) [static]

Remove first colon from string, if any. Replace it by a space.

Parameters:
stra char * string

Definition at line 499 of file gphoto2-abilities-list.c.

Referenced by gp_abilities_list_append().

{
      char *ch;
      ch = strchr(str, ':');
      if (ch) {
            *ch = ' ';
      }
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index