summary refs log tree commit diff
path: root/src/portab
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2024-02-10 00:00:19 +0100
committerAlexander Barton <alex@barton.de>2024-02-10 00:22:33 +0100
commitea7f4e07b71cd27294bd7deb04d8ffe95b15e2ce (patch)
tree83c2dc0a8ac4211d7ec0cba2d978edc99db66a57 /src/portab
parentf3961ec6ab32ffa1ea1ce3f716a904ed82c8fde4 (diff)
downloadngircd-ea7f4e07b71cd27294bd7deb04d8ffe95b15e2ce.tar.gz
ngircd-ea7f4e07b71cd27294bd7deb04d8ffe95b15e2ce.zip
Remove outdated, unsupported and broken support for splint(1)
Diffstat (limited to 'src/portab')
-rw-r--r--src/portab/Makefile.ng4
-rw-r--r--src/portab/portab.h6
-rw-r--r--src/portab/splint.h41
3 files changed, 2 insertions, 49 deletions
diff --git a/src/portab/Makefile.ng b/src/portab/Makefile.ng
index 30b77fc3..9be5f567 100644
--- a/src/portab/Makefile.ng
+++ b/src/portab/Makefile.ng
@@ -1,6 +1,6 @@
 #
 # ngIRCd -- The Next Generation IRC Daemon
-# Copyright (c)2001-2014 Alexander Barton (alex@barton.de) and Contributors
+# Copyright (c)2001-2024 Alexander Barton (alex@barton.de) and Contributors
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -31,7 +31,7 @@ portabtest_LDFLAGS = -L.
 
 portabtest_LDADD = -lngportab
 
-noinst_HEADERS = portab.h splint.h
+noinst_HEADERS = portab.h
 
 maintainer-clean-local:
 	rm -f Makefile Makefile.in Makefile.am
diff --git a/src/portab/portab.h b/src/portab/portab.h
index ebe81b49..e0ec3e1e 100644
--- a/src/portab/portab.h
+++ b/src/portab/portab.h
@@ -110,12 +110,6 @@ typedef unsigned char bool;
 #define GLOBAL extern
 #endif
 
-/* SPLint */
-
-#ifdef S_SPLINT_S
-# include "splint.h"
-#endif
-
 /* target constants  */
 
 #ifndef HOST_OS
diff --git a/src/portab/splint.h b/src/portab/splint.h
deleted file mode 100644
index be33e475..00000000
--- a/src/portab/splint.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
- *
- * Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
- * der GNU General Public License (GPL), wie von der Free Software Foundation
- * herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2
- * der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version.
- * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
- * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
- */
-
-#ifndef __splint__
-#define __splint__
-
-/**
- * @file
- * Header file which is included for SPLint code checks
- *
- * This header is only included by portab.h if a SPLint code check is
- * running (when S_SPLINT_S is defined). It makes some definitions to
- * prevent SPLint from issuing false warnings.
- */
-
-#define SYSCONFDIR "/"
-#define LOCALSTATEDIR "/"
-
-#define LOG_EMERG 0
-#define LOG_ALERT 1
-#define LOG_CRIT 2
-#define LOG_ERR 3
-#define LOG_WARNING 4
-#define LOG_NOTICE 5
-#define LOG_INFO 6
-#define LOG_DEBUG 7
-
-#define WNOHANG 0
-
-#endif
-
-/* -eof- */