Declared but not defined

Hey All,

I have a file with seven columns and am trying to plot a TGraph using only the first two columns using this macro below but this error: Processing goodrunstime.C…
Error: goodrunstime() declared but not defined :0:

#include <fstream>
#include <iostream>

void goodrunstime();
  ifstream infile;
  string line;"goodruns.out");
  const int n = 800;
  int runNumber[n], runlength[n];                                                                                                                                                                                                             
  int i =0;
    int col1, col2;
    std::istringstream ss(line);
    ss >> col1 >> col2 ;
    cout << "Run Number  " <<  col1 <<  "runLength   " << col2 << std::endl;
    runNumber[i]= col1 ;
    runlength[i]= col2;

  TGraph *plot = new TGraph(n,runNumber,runlength);


How can I resolve this error?
Looking forward to your kind assistance.

Remove the first semicolon:

void goodrunstime()
    ifstream infile;
   ... etc

Thank you dastudillo, it worked.