too many arguments to function 'uint8_t shiftIn(uint8_t, uint8_t, uint8_t)'

i got this error today while trying to upload the code, can you help me find the wrong code??
thank you before

// send a command to the SHTx sensor
void sendCommandSHT(int command, int dataPin, int clockPin)
{
int ack;

// transmission start
pinMode(dataPin, OUTPUT);
pinMode(clockPin, OUTPUT);
digitalWrite(dataPin, HIGH);
digitalWrite(clockPin, HIGH);
digitalWrite(dataPin, LOW);
digitalWrite(clockPin, LOW);
digitalWrite(clockPin, HIGH);
digitalWrite(dataPin, HIGH);
digitalWrite(clockPin, LOW);

// shift out the command (the 3 MSB are address and must be 000, the last 5 bits are the command)
shiftOut(dataPin, clockPin, MSBFIRST, command);

// verify we get the right ACK
digitalWrite(clockPin, HIGH);
pinMode(dataPin, INPUT);
ack = digitalRead(dataPin);
if (ack != LOW)
Serial.println("ACK error 0");
digitalWrite(clockPin, LOW);
ack = digitalRead(dataPin);
if (ack != HIGH)
Serial.println("ACK error 1");
}

// wait for the SHTx answer
void waitForResultSHT(int dataPin)
{
int ack;

pinMode(dataPin, INPUT);
for (int i = 0; i < 100; ++i)
{
delay(10);
ack = digitalRead(dataPin);
if (ack == LOW)
break;
}
if (ack == HIGH)
Serial.println("ACK error 2");
}

// get data from the SHTx sensor
int getData16SHT(int dataPin, int clockPin)
{
int val;

// get the MSB (most significant bits)
pinMode(dataPin, INPUT);
pinMode(clockPin, OUTPUT);
val = shiftIn(dataPin, clockPin, MSBFIRST, 8, 3);
val *= 256; // this is equivalent to val << 8;

// send the required ACK
pinMode(dataPin, OUTPUT);
digitalWrite(dataPin, HIGH);
digitalWrite(dataPin, LOW);
digitalWrite(clockPin, HIGH);
digitalWrite(clockPin, LOW);

// get the LSB (less significant bits)
pinMode(dataPin, INPUT);
val |= shiftIn(dataPin, clockPin, LSBFIRST, 8, 3);<<< this is error line
return val;
}

// skip CRC data from the SHTx sensor
void skipCrcSHT(int dataPin, int clockPin)
{
pinMode(dataPin, OUTPUT);
pinMode(clockPin, OUTPUT);
digitalWrite(dataPin, HIGH);
digitalWrite(clockPin, HIGH);
digitalWrite(clockPin, LOW);
}

Please use code tags instead of quote tags.

You're passing five arguments to a function that only expects 3 arguments; shiftIn() reference.

What are you trying to achieve with the last two arguments?

i got this error today while trying to upload the code, can you help me find the wrong code??

it would have saved time if you posted the error

C:\stuff\SW\Arduino\_Others\ban\ban.ino: In function 'int getData16SHT(int, int)':

ban:52: error: too many arguments to function 'uint8_t shiftIn(uint8_t, uint8_t, uint8_t)'

     val = shiftIn(dataPin, clockPin, MSBFIRST, 8, 3);

looks like shiftIn() takes 3 arguments. you have 5