aboutsummaryrefslogblamecommitdiff
path: root/tests/test-rpc_server.c
blob: 6359cb5ce06c136e5c5e6d3e874dbccb78505ed7 (plain) (tree)
1
2
3
4
5
6
7
8





                   

                                                                                   









                                    
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>

#include <hal.h>

#warning This is wrong, nothing outside libhal itself should include hal_internal.h
#include <hal_internal.h>

int main (int argc, char *argv[])
{
    if (rpc_server_init() != HAL_OK)
	return 1;

    rpc_server_main();
    return 0;
}