@@ -1,11 +0,0 @@ | |||
#include "age.h" | |||
void setAge(uint8_t age) | |||
{ | |||
g_age = age; | |||
} | |||
uint8_t getAge(void) | |||
{ | |||
g_age = g_age+1; | |||
return g_age+2; | |||
} |
@@ -0,0 +1,6 @@ | |||
#include "classroom.h" | |||
uint16_t remain_classroom; | |||
void cs_check_remain_classroom(void) | |||
{ | |||
return remain_classroom; | |||
} |
@@ -0,0 +1,6 @@ | |||
#ifndef CLASSROOM_H | |||
#define CLASSROOM_H | |||
void cs_check_remain_classroom(void); | |||
void cs_book_classroom(uint16_t classroom); | |||
#endif |
@@ -1 +0,0 @@ | |||
#include "fun.h" |