summaryrefslogtreecommitdiff
path: root/src/tools/operf/operf.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-04-13 12:00:09 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-04-13 12:14:24 +0200
commitb43e8cd0f0858e78486752007c3640b70bf44c8d (patch)
treeb07a8c54f0e2cdcf258fba38ae77edc02e3d17d1 /src/tools/operf/operf.c
parent72c28d6173ade511e9dc6969e0fc66db2dbba38a (diff)
downloadouroboros-b43e8cd0f0858e78486752007c3640b70bf44c8d.tar.gz
ouroboros-b43e8cd0f0858e78486752007c3640b70bf44c8d.zip
include, lib: Rename ap_init/ap_fini
Fixes #35
Diffstat (limited to 'src/tools/operf/operf.c')
-rw-r--r--src/tools/operf/operf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/operf/operf.c b/src/tools/operf/operf.c
index 7935d12c..5e7f2f37 100644
--- a/src/tools/operf/operf.c
+++ b/src/tools/operf/operf.c
@@ -140,14 +140,14 @@ int main(int argc, char ** argv)
}
if (serv) {
- if (ap_init(argv_dup[0])) {
+ if (ouroboros_init(argv_dup[0])) {
printf("Failed to init AP.\n");
exit(EXIT_FAILURE);
}
ret = server_main();
} else {
- if (ap_init(NULL)) {
+ if (ouroboros_init(NULL)) {
printf("Failed to init AP.\n");
exit(EXIT_FAILURE);
}
@@ -171,7 +171,7 @@ int main(int argc, char ** argv)
ret = client_main();
}
- ap_fini();
+ ouroboros_fini();
if (ret < 0)
exit(EXIT_FAILURE);