Sfoglia il codice sorgente

dylan2: add classroom.c classroom.h

tags/V2.0
dylan2 dylan <497357846@qq.com> 4 anni fa
parent
commit
e69a1e39ab
4 ha cambiato i file con 12 aggiunte e 12 eliminazioni
  1. +0
    -11
      age.c
  2. +6
    -0
      classroom/classroom.c
  3. +6
    -0
      classroom/classroom.h
  4. +0
    -1
      fun.c

+ 0
- 11
age.c Vedi File

@@ -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;
}

+ 6
- 0
classroom/classroom.c Vedi File

@@ -0,0 +1,6 @@
#include "classroom.h"
uint16_t remain_classroom;
void cs_check_remain_classroom(void)
{
return remain_classroom;
}

+ 6
- 0
classroom/classroom.h Vedi File

@@ -0,0 +1,6 @@
#ifndef CLASSROOM_H
#define CLASSROOM_H

void cs_check_remain_classroom(void);
void cs_book_classroom(uint16_t classroom);
#endif

+ 0
- 1
fun.c Vedi File

@@ -1 +0,0 @@
#include "fun.h"

Loading…
Annulla
Salva