From 5ea166823deed911dff52687848cde78d970fb0f Mon Sep 17 00:00:00 2001 From: Martin Uecker Date: Wed, 10 Jan 2024 14:31:38 +0100 Subject: [PATCH] updates to fix build + copyright --- src/cfl2png.c | 11 ++++++++++- src/main.c | 12 +++++++----- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/src/cfl2png.c b/src/cfl2png.c index d1e2e7a..8d243af 100644 --- a/src/cfl2png.c +++ b/src/cfl2png.c @@ -1,3 +1,7 @@ +/* Copyright 2017-2023. AG Uecker. University Medical Center Göttingen. + * All rights reserved. Use of this source code is governed by + * a BSD-style license which can be found in the LICENSE file. + */ #include #include @@ -11,9 +15,14 @@ #include "misc/misc.h" #include "misc/debug.h" #include "misc/mmio.h" -#include "misc/io.h" #include "misc/opts.h" #include "misc/png.h" +#if 0 +#include "misc/io.h" +#else +extern void io_reserve_input(const char* name); +extern void io_unregister(const char* name); +#endif #include "draw.h" diff --git a/src/main.c b/src/main.c index 882c680..1e241ff 100644 --- a/src/main.c +++ b/src/main.c @@ -1,9 +1,6 @@ -/* Copyright 2015-2016. Martin Uecker. +/* Copyright 2015-2023. Martin Uecker. * All rights reserved. Use of this source code is governed by * a BSD-style license which can be found in the LICENSE file. - * - * Author: - * 2015-2016 Martin Uecker */ #include @@ -16,8 +13,13 @@ #include "misc/misc.h" #include "misc/mmio.h" -#include "misc/io.h" #include "misc/opts.h" +#if 0 +#include "misc/io.h" +#else +extern void io_reserve_input(const char* name); +extern void io_unregister(const char* name); +#endif #include "view.h"