Digispark compilation error

When I try to compile, I get this error "287: 8: error: 'unsigned char usbFunctionSetup (unsigned char *)' previously defined here

uchar usbFunctionSetup (uchar data [8]) {

^

How can I solve?
This is my code
#include "DigiMouse.h"
#include "DigiKeyboard.h"
void setup () {

DigiKeyboard.sendKeyStroke (KEY_R, MOD_GUI_LEFT);
delay (100);
DigiKeyboard.println ( "powershell");
delay (100);

DigiKeyboard.println ( "mspaint");
DigiMouse.begin ();
}

void loop () {

DigiMouse.update ();
DigiMouse.setButtons (1);

DigiMouse.delay (150);

DigiMouse.moveX (20); // I move to the right of 20px
DigiMouse.delay (150);
DigiMouse.moveY (-20); // I move up to 20px
DigiMouse.delay (150);
DigiMouse.moveX (-20); // I move to the left of 20px
DigiMouse.delay (150);
DigiMouse.moveY (20); // I move down 20px
DigiMouse.delay (150);

DigiMouse.moveX (20); // dx
DigiMouse.delay (150);
DigiMouse.moveY (-300); // on
DigiMouse.delay (150);
DigiMouse.moveX (20); // dx
DigiMouse.delay (150);
DigiMouse.moveY (300); // June
DigiMouse.delay (150);

DigiMouse.moveX (20); // dx
DigiMouse.delay (150);
DigiMouse.moveY (-20); // on
DigiMouse.delay (150);
DigiMouse.moveX (-20); // sx
DigiMouse.delay (150);
DigiMouse.moveY (20); // June
DigiMouse.delay (150);

DigiMouse.setButtons (0);
DigiMouse.delay (150);
DigiMouse.moveX (40);
DigiMouse.delay (150);
}

That function is defined inside both DigiMouse.h and DigiKeyboard.h. Go into one of them and comment it out

These are two different functions. You comment one out, you lose the integrity of that library as the other will not work for both. This is an example of poorly written libraries, especially as they originate from the same source. The libraries were never written with consideration that they may be used together as there will be other errors reported once you fix that one.

This needs to be brought to the attention of Digispark, not the Arduino Forum. Both libraries are 5 years old and it may be that corrections have been made. You should look for newer versions or other libraries that are not in conflict. If you choose to sort it yourself, you will need to find out which library your call is intended for and edit the other one, changing it's name and all corresponding references to it.