rem: void stk500_open(PROGRAMMER * pgm, char * port)
add: static void stk500_open(PROGRAMMER * pgm, char * port)
context: void stk500_open(PROGRAMMER * pgm, char * port){  int rc;  strcpy(pgm->port, port);  /*   * open the serial port   */  pgm->fd = open(port, O_RDWR | O_NOCTTY /*| O_NONBLOCK*/);  if (pgm->fd < 0) {    fprintf(stderr, "%s: stk500_open(): can't open device \"%s\": %s\n",            progname, port, strerror(errno));    exit(1);  }  /*   * set serial line attributes   */  rc = stk500_setattr(pgm->fd);  if (rc) {    fprintf(stderr,             "%s: stk500_open(): can't set attributes for device \"%s\"\n",            progname, port);    exit(1);  }  /*   * drain any extraneous input   */  stk500_drain(pgm, 0);  stk500_getsync(pgm);  stk500_drain(pgm, 0);}