From 26361be59c08917c47718bcd4114b8028aaf7810 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Tue, 29 Oct 2024 21:03:04 -0600 Subject: libhw: Tidy --- libhw/host_sigrt.c | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 libhw/host_sigrt.c (limited to 'libhw/host_sigrt.c') diff --git a/libhw/host_sigrt.c b/libhw/host_sigrt.c deleted file mode 100644 index 6dcb963..0000000 --- a/libhw/host_sigrt.c +++ /dev/null @@ -1,21 +0,0 @@ -/* libhw/host_sigrt.c - Manage glibc realtime signals - * - * Copyright (C) 2024 Luke T. Shumaker - * SPDX-License-Identifier: AGPL-3.0-or-later - */ - -#include /* for error(3gnu) */ -#include /* for SIGRTMIN, SIGRTMAX */ - -#include "host_sigrt.h" - -int host_sigrt_alloc(void) { - static int next = 0; - - if (!next) - next = SIGRTMIN; - int ret = next++; - if (ret > SIGRTMAX) - error(1, 0, "SIGRTMAX exceeded"); - return ret; -} -- cgit v1.2.3-2-g168b