aboutsummaryrefslogtreecommitdiff
path: root/tests/test-rpc_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-rpc_server.c')
-rw-r--r--tests/test-rpc_server.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/tests/test-rpc_server.c b/tests/test-rpc_server.c
index 6359cb5..eb11f6d 100644
--- a/tests/test-rpc_server.c
+++ b/tests/test-rpc_server.c
@@ -1,18 +1,10 @@
-#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)
+ if (hal_rpc_server_init() != HAL_OK)
return 1;
- rpc_server_main();
+ hal_rpc_server_main();
return 0;
}