Not declared in this scope

Hey if anyone could help me out here I would really appreciate it. I'm not sure what do to to get rid of the below errors/warnings.

prime.cpp: In function 'int main()':

prime.cpp:12: error: 'isPrime' was not declared in this scope

prime.cpp: In function 'int isPrime(int)':

prime.cpp:39: warning: converting to 'int' from 'double'

Code:

#include <iostream>

using namespace std;

#include <math.h>

#define TRUE 1;

#define FALSE 0;

int main()

{

int number;

if (isPrime(number))

cout << "\n" << number << "is a prime number\n";

else

cout << "\n" << number << "is not a prime number\n";

return 0;

}

void getNumber(int &number)

{

cout << "Please enter a positive number ";

cin >> number;

if (!cin.good())

{

printf("Invalid number entered\n");

exit(1);

}

}

int isPrime(int number)

{

int count, s;

/* Every even number is not prime */

if (number % 2 == 0) return TRUE;

/* check every odd number up to the square root of the number */

s = sqrt(number);

for (count=3; count<=s; count+=2);

{

if (number % count == 0) return TRUE;

}

return FALSE;

}