Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/fb/ega.c

    r9934f7d rffa2c8ef  
    5252#include <io/screenbuffer.h>
    5353#include <sys/types.h>
     54
    5455#include "ega.h"
    5556#include "main.h"
    56 
    57 // FIXME: remove this header
    58 #include <kernel/ipc/ipc_methods.h>
    5957
    6058#define MAX_SAVED_SCREENS  256
     
    256254}
    257255
    258 static void ega_client_connection(ipc_callid_t iid, ipc_call_t *icall,
    259     void *arg)
     256static void ega_client_connection(ipc_callid_t iid, ipc_call_t *icall)
    260257{
    261258        size_t intersize = 0;
     
    294291                int retval;
    295292               
    296                 if (!IPC_GET_IMETHOD(call)) {
     293                switch (IPC_GET_IMETHOD(call)) {
     294                case IPC_M_PHONE_HUNGUP:
    297295                        client_connected = 0;
    298296                        async_answer_0(callid, EOK);
     
    300298                        /* Exit thread */
    301299                        return;
    302                 }
    303                
    304                 switch (IPC_GET_IMETHOD(call)) {
    305300                case IPC_M_SHARE_OUT:
    306301                        /* We accept one area for data interchange */
Note: See TracChangeset for help on using the changeset viewer.