Project

General

Profile

Revision 133

changed free_memory name

View differences:

graphics.c
38 38
    // BIOS CALL
39 39
    if (sys_int86(&reg_86)) {
40 40
        printf("%s: sys_int86 failed\n", __func__);
41
        if (free_memory()) {
41
        if (free_memory_map()) {
42 42
            printf("%s: lm_free failed\n", __func__);
43 43
            return LCF_ERROR;
44 44
        }
......
75 75
    // BIOS CALL
76 76
    if (sys_int86(&reg_86)) {
77 77
        printf("%s: sys_int86 failed\n", __func__);
78
        if (free_memory()) {
78
        if (free_memory_map()) {
79 79
            printf("%s: lm_free failed\n", __func__);
80 80
            return LCF_ERROR;
81 81
        }
......
168 168
    return SUCCESS;
169 169
}
170 170

  
171
int (free_memory)(void) {
171
int (free_memory_map)(void) {
172 172
    return !lm_free(&mem_map);
173 173
}
174 174

  

Also available in: Unified diff