exit status 1 not declared in this scope.

edit: my bad it says backward is not declared

#include <Servo.h>
Servo servoLeft;

Servo servoRight;
void setup()
{
pinMode(7, INPUT); 
pinMode(5, INPUT);
tone(4, 3000, 1000);
delay(1000);
servoLeft.attach(11); 
servoRight.attach(10); }
void loop() 
{

byte wLeft = digitalRead(5); 
byte wRight = digitalRead(7);
if((wLeft == 0) && (wRight == 0)) 
{
backward(1000);
turnLeft(800);
}

else if(wLeft == 0)
{
backward(1000);
turnRight(400); 
}
else if(wRight == 0)
{
backward(1000);
turnLeft(400);
}
else 
{
forward(20);
}
}
void forward(int time)
{

servoLeft.writeMicroseconds(1700);
servoRight.writeMicroseconds(1300);
delay(time);
}
void turnLeft(int time)
servoLeft.writeMicroseconds(1300); 
servoRight.writeMicroseconds(1300); 
delay(time); }
// Maneuver for time ms
void turnRight(int time) // Right turn function
{
servoLeft.writeMicroseconds(1700);
servoRight.writeMicroseconds(1700); 
delay(time); }
void backward(int time) // Backward function
{
servoLeft.writeMicroseconds(1300); 
servoRight.writeMicroseconds(1700); 
delay(time);
}
void turnLeft(int time)
servoLeft.writeMicroseconds(1300);
servoRight.writeMicroseconds(1300);
delay(time); }

You are missing a { there.
Should be ike this:

void turnLeft(int time)
{
  servoLeft.writeMicroseconds(1300);

Use the autoformat tool (ctrl-t or Tools, Auto Format) to indent your code. It make that sort of mistake easier to see.

holy it worked Thank you can you explain to me why that mistake produces that error

Mostly because that's the way the compiler expects you to define a function. It's very particular about syntax and you can't just make up your own.

midgetobesefemale:
can you explain to me why that mistake produces that error

When you declare a function ( ( ) { }) the open curly bracket for the block of zero or more statements is required. That is why it is an error to NOT put a '{' between the ')' and a statement.

void turnLeft(int time)
servoLeft.writeMicroseconds(1300);
servoRight.writeMicroseconds(1300);
delay(time);
}

Read the WHOLE error message.