"void value not ignored as it ought to be" when trying to use freqCount library

HI,
I am trying to read a frequency from a light to frequency converter making use of the freqCount library. HOever i am getting the error “void value not ignored as it ought to be” related to the freqCount library. See code below:

#include <FreqCount.h>

//Pin mappings for both LEDs and photosensors
#define B0LED1_PIN 10 
#define B0LED2_PIN 12
#define B0SENSOR1_PIN 6
#define B0SENSOR2_PIN 7

#define readSw A0
#define blankSw A1
#define initSw A2

unsigned long count;  
unsigned long count1; 

float bank0Blank;
int bank;

float result;

int initSwState = 0;   
int readSwState = 0;    
int blankSwState = 0;     

void setup() {
   Serial.begin(9600);
   FreqCount.begin(1000);
  
   pinMode(readSw, INPUT_PULLUP);
   pinMode(blankSw, INPUT_PULLUP);
   pinMode(initSw, INPUT_PULLUP);

   bank=0;
   
}

void loop() {
  initSwState = digitalRead(initSw);
  blankSwState = digitalRead(blankSw);
  readSwState = digitalRead(readSw);
  if (initSwState==1) {initializePhotometer();}
  else if (blankSwState==1) {blankBank();}
  else if (readSwState==1) {getReading();}
}


//-----Functions-----//
void frequencyCtr() {
   if (FreqCount.available()) {
    count = FreqCount.read();    //dose this occur on pin 5?
  }
}

void initializePhotometer() {
   pinMode(B0LED1_PIN, OUTPUT);
   digitalWrite(B0LED1_PIN, LOW);
   pinMode(B0LED2_PIN, OUTPUT);
   digitalWrite(B0LED2_PIN, LOW);
   pinMode(B0SENSOR1_PIN, OUTPUT);
   digitalWrite(B0SENSOR1_PIN, HIGH);
   pinMode(B0SENSOR2_PIN, OUTPUT);
   digitalWrite(B0SENSOR2_PIN, HIGH);
   bank0Blank = 0.0f;  //tells compiler to interpret as a float
   //bank1Blank = 0.0f;
   bank = 0;
   delay(1000);
}

void getReading() {
   if (bank == 0) {
     digitalWrite(B0LED1_PIN, HIGH);
     digitalWrite(B0LED2_PIN, HIGH);
     digitalWrite(B0SENSOR1_PIN, LOW);
     count = frequencyCtr();
     digitalWrite(B0SENSOR1_PIN, HIGH); 
   }
   delay(1000);
}

void blankBank() {
   if (bank == 0) {
     digitalWrite(B0LED1_PIN, HIGH);
     digitalWrite(B0LED2_PIN, HIGH);
     digitalWrite(B0SENSOR1_PIN, LOW);
     count = frequencyCtr();
     digitalWrite(B0SENSOR1_PIN, HIGH);
   }

   delay(1000);
}

The following is the output from the serial console:
/home/richard/Dev/sketchbook-Ard/Photometer/Photometer_V2B/Photometer_V2B.ino: In function ‘void getReading()’:
Photometer_V2B:128: error: void value not ignored as it ought to be
count = frequencyCtr();
^

Does anybody have any idea what is causing this? Any help is much appreciated.

Arduino 1.6.9, from linux.

Cheers.

void frequencyCtr() { . . .

count = frequencyCtr(); The function is void, it returns nothing.

.

HI larryd, Yes, and i cant believe i didnt see that. I now feel like an idiot.

Anyway it now works so thanks for your help.

Cheers.