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

I get the error:
exit status 1
a function-definition is not allowed here before '{' token
[i/]
Here's my code:
```
*// Include Libraries
#include <LiquidCrystal.h>

// Pin Definitions
#define LCD_PIN_RS 7
#define LCD_PIN_E 6
#define LCD_PIN_DB4 2
#define LCD_PIN_DB5 3
#define LCD_PIN_DB6 4
#define LCD_PIN_DB7 5

// Global variables and defines

// object initialization
LiquidCrystal lcd(LCD_PIN_RS,LCD_PIN_E,LCD_PIN_DB4,LCD_PIN_DB5,LCD_PIN_DB6,LCD_PIN_DB7);

int day;
int button1status;
int button2status;

// Setup the essentials for your circuit to work. It runs first every time your circuit is powered with electricity.
void setup()
{
    // Setup Serial which is useful for debugging
    // Use the Serial Monitor to view printed messages
    Serial.begin(9600);
    while (!Serial) ; // wait for serial port to connect. Needed for native USB
    Serial.println("start");
   
    // set up the LCD's number of columns and rows
    lcd.begin(16, 2);

pinMode(12,INPUT);
    pinMode(13,INPUT);

day = 0;
}

// Main logic of your circuit. It defines the interaction between the components you selected. After setup, it runs over and over again, in an eternal loop.
void loop() {
    void monday() {
      lcd.print("Monday");
      delay(2000);
      lcd.clear;
      lcd.print("1.Math");
      delay(2000);
      lcd.clear;
      lcd.print("2.Comp. Science");
      delay(2000);
      lcd.clear();
      lcd.print("3.Reading");
      delay(2000);
      lcd.clear();
      lcd.print("4.Science");
      delay(2000);
      lcd.clear();
      lcd.print("5.Lunch");
      delay(2000);
      lcd.clear();
      lcd.print("6.Writing");
      delay(2000);
      lcd.print("7.S.S.");
    }
    void tuesday() {
      lcd.print("Tuesday");
      delay(2000);
      lcd.clear;
      lcd.print("1.Reading");
      delay(2000);
      lcd.clear;
      lcd.print("2.Gym");
      delay(2000);
      lcd.clear();
      lcd.print("3.Writing");
      delay(2000);
      lcd.clear();
      lcd.print("4.Writing");
      delay(2000);
      lcd.clear();
      lcd.print("5.Lunch");
      delay(2000);
      lcd.clear();
      lcd.print("6.Math");
      delay(2000);
      lcd.print("7.Math");
    }
    void wednesday() {
      lcd.print("Wednesday");
      delay(2000);
      lcd.clear;
      lcd.print("1.Writing");
      delay(2000);
      lcd.clear;
      lcd.print("2.Science");
      delay(2000);
      lcd.clear();
      lcd.print("3.Math");
      delay(2000);
      lcd.clear();
      lcd.print("4.Math");
      delay(2000);
      lcd.clear();
      lcd.print("5.Lunch");
      delay(2000);
      lcd.clear();
      lcd.print("6.Reading");
      delay(2000);
      lcd.print("7.Reading");
    }
    void thursday() {
      lcd.print("Thursday");
      delay(2000);
      lcd.clear;
      lcd.print("1.Math");
      delay(2000);
      lcd.clear;
      lcd.print("2.Art");
      delay(2000);
      lcd.clear();
      lcd.print("3.Reading");
      delay(2000);
      lcd.clear();
      lcd.print("4.Reading");
      delay(2000);
      lcd.clear();
      lcd.print("5.Lunch");
      delay(2000);
      lcd.clear();
      lcd.print("6.Writing");
      delay(2000);
      lcd.print("7.S.S.");
    }
    void friday() {
      lcd.print("Friday");
      delay(2000);
      lcd.clear;
      lcd.print("1.Writing");
      delay(2000);
      lcd.clear;
      lcd.print("2.Gym");
      delay(2000);
      lcd.clear();
      lcd.print("3.Math");
      delay(2000);
      lcd.clear();
      lcd.print("4.Math");
      delay(2000);
      lcd.clear();
      lcd.print("5.Lunch");
      delay(2000);
      lcd.clear();
      lcd.print("6.Reading");
      delay(2000);
      lcd.print("7.Fun Club");
    }
    digitalRead(12) == button1status;
    digitalRead(13) == button2status;
    if  (button1status = HIGH) {
      --day;
    }
    if  (button2status = HIGH) {
      ++day;
    }
    if (day = 6){
      day = 0;
    }
    if (day = 1) {
      monday();
    }
    if (day = 2) {
      tuesday();
    }
    if (day = 3) {
      wednesday();
    }
    if (day = 4) {
      thursday();
    }
    if (day = 5) {
      friday();
    }
    }
}*
```
I didn't see any brackets in the wrong place.

You have functions defined inside the loop() function.. It's not Lua! You can't do that in C/C++.

So, yes, a bracket is out of place.

ALSO...

One equal sign "=" means assignment.
Two equal signs "==" are for a conditional test.
Thus

    digitalRead(12) == button1status;
    digitalRead(13) == button2status;
    if  (button1status = HIGH) {

has three errors that occur in several other places as well. This code is allowed in C/C++ so the compiler will not flag it as wrong but it does not fit the logic of your program.