ERROR MESSAGE: A function-definition is not allowed before the '{' token

I'm writing up some code, but I'm having issues defining functions. Can anyone tell me what is wrong with my code??

Here is the full error message:

C:\Users\racheldave05\Desktop\Ben\Arduino\AaaaahHHHHH\AaaaahHHHHH.ino: In function 'void setup()':

AaaaahHHHHH:22: error: a function-definition is not allowed here before '{' token

{

^

AaaaahHHHHH:34: error: a function-definition is not allowed here before '{' token

{

^

AaaaahHHHHH:46: error: a function-definition is not allowed here before '{' token

{

^

AaaaahHHHHH:58: error: a function-definition is not allowed here before '{' token

{

^

AaaaahHHHHH:70: error: a function-definition is not allowed here before '{' token

{

^

AaaaahHHHHH:82: error: a function-definition is not allowed here before '{' token

{

^

AaaaahHHHHH:94: error: a function-definition is not allowed here before '{' token

{

^

AaaaahHHHHH:105: error: a function-definition is not allowed here before '{' token

void digital_() {

^

exit status 1
a function-definition is not allowed here before '{' token

Here is the code:

 void digital_()
  {
    digitalWrite(a,LOW);
    digitalWrite(b,LOW);
    digitalWrite(c,LOW);
    digitalWrite(d,LOW);
    digitalWrite(e,LOW);
    digitalWrite(f,LOW);
    digitalWrite(g,LOW);
    digitalWrite(dp,LOW);
  }
  
  void digital_() 
  {
    digitalWrite(a,LOW);
    digitalWrite(b,LOW);
    digitalWrite(c,LOW);
    digitalWrite(d,LOW);
    digitalWrite(e,LOW);
    digitalWrite(f,LOW);
    digitalWrite(g,LOW);
    digitalWrite(dp,LOW);
  }
  
  void digital_() {
    digitalWrite(a,LOW);
    digitalWrite(b,LOW);
    digitalWrite(c,LOW);
    digitalWrite(d,LOW);
    digitalWrite(e,LOW);
    digitalWrite(f,LOW);
    digitalWrite(g,LOW);
    digitalWrite(dp,LOW);
  }
}
void loop() {
  
}

Thank you!

(deleted)

...
  }
}  // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< One too many of these.
void loop() {
...

Oh not all of the code was pasted...