Project

General

Profile

Revision 166

encapsulated some functions

View differences:

proj_func.c
1 1
#include "proj_func.h"
2 2
#include "interrupts_func.h"
3
#include "graphics.h"
3
#include "graph.h"
4 4
#include "errors.h"
5 5

  
6 6
#include <lcom/lcf.h>
......
9 9
    int r = SUCCESS;
10 10
    if ((r = unsubscribe_all()))
11 11
        printf("%s: failed to unsubscribe drivers.\n", __func__);
12
    if ((r = graph_cleanup()))
13
        printf("%s: graph cleanup failed\n", __func__);
12 14

  
13
    if ((r = vg_exit()))
14
        printf("%s: vg_exit failed to exit to text mode.\n", __func__);
15
    if ((r = graph_free_memory_map()))
16
        printf("%s: lm_free failed\n", __func__);
17

  
18 15
    return r;
19 16
}

Also available in: Unified diff