]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Include regex.h from para.h.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 18 May 2025 20:05:45 +0000 (22:05 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 19 May 2025 17:35:58 +0000 (19:35 +0200)
Every .c file includes it anyway.

94 files changed:
aac_afh.c
aacdec_filter.c
acl.c
afh.c
afh_common.c
afh_recv.c
afs.c
aft.c
alsa_mix.c
alsa_write.c
amp_filter.c
ao_write.c
attribute.c
audioc.c
audiod.c
audiod_command.c
base64.c
bitstream.c
blob.c
buffer_tree.c
check_wav.c
chunk_queue.c
client.c
client_common.c
close_on_fork.c
command.c
compress_filter.c
crypt_common.c
daemon.c
dccp_recv.c
dccp_send.c
exec.c
fd.c
fec.c
fecdec_filter.c
file_write.c
filter.c
filter_common.c
flac_afh.c
flacdec_filter.c
gcrypt.c
grab_client.c
gui.c
http_recv.c
http_send.c
imdct.c
interactive.c
lsu.c
mixer.c
mood.c
mp.c
mp3_afh.c
mp3dec_filter.c
mp4.c
net.c
ogg_afh.c
ogg_afh_common.c
oggdec_filter.c
openssl.c
opus_afh.c
opusdec_filter.c
oss_mix.c
oss_write.c
para.h
play.c
playlist.c
prebuffer_filter.c
recv.c
recv_common.c
resample_filter.c
ringbuffer.c
sched.c
score.c
send_common.c
server.c
sideband.c
signal.c
spx_afh.c
spx_common.c
spxdec_filter.c
stat.c
stdin.c
string.c
sync_filter.c
udp_recv.c
udp_send.c
upgrade_db.c
user_list.c
vss.c
wav_filter.c
wma_afh.c
wmadec_filter.c
write.c
write_common.c

index d50898fc435af7e79d295809fcd9b560b3109651..57e79d3e09d5cb91245725b2e7c85acfa926bc30 100644 (file)
--- a/aac_afh.c
+++ b/aac_afh.c
@@ -6,7 +6,6 @@
 
 /** \file aac_afh.c para_server's aac audio format handler. */
 
-#include <regex.h>
 #include <neaacdec.h>
 
 #include "para.h"
index ab07be8f18f2377f17cddf1668ca02f02cb407c2..eab068f4c4f77f768683c2cb78b1b121ac1548bc 100644 (file)
@@ -6,7 +6,6 @@
 
 /** \file aacdec_filter.c paraslash's aac (m4a) decoder. */
 
-#include <regex.h>
 #include <neaacdec.h>
 
 #include "para.h"
diff --git a/acl.c b/acl.c
index ddf93ecc6e083299daf7a573b0adce16c3b4051f..811abaabf7a3d248abb29718c0e0c3840d6f0882 100644 (file)
--- a/acl.c
+++ b/acl.c
@@ -4,7 +4,6 @@
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <regex.h>
 #include <arpa/inet.h>
 #include <sys/un.h>
 #include <netdb.h>
diff --git a/afh.c b/afh.c
index e419d2708d7224aaa5330515b11d45947c0d5fab..2d95953758389d129ce52dc3fa5b8d70a0d661b2 100644 (file)
--- a/afh.c
+++ b/afh.c
@@ -2,7 +2,6 @@
 
 /** \file afh.c Paraslash's standalone audio format handler tool. */
 
-#include <regex.h>
 #include <lopsub.h>
 
 #include "afh.lsg.h"
index 7e8f63d22a2126494d53e94457278be06142d4f7..0f17a67b3a699c0a1aba8567fab0bac200abd2d5 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <sys/mman.h> /* mmap */
 #include <sys/types.h>
-#include <regex.h>
 
 #include "para.h"
 #include "error.h"
index 687b77d9ecc385aa433cd90d8e027ffb110c135d..e548d709598d2812bd5cc32d5b2dc8231c605c1c 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file afh_recv.c Receiver for streaming local files. */
 
-#include <regex.h>
 #include <sys/types.h>
 #include <lopsub.h>
 
diff --git a/afs.c b/afs.c
index f96d9c9104e12f317799e5c09fbbeef7781c8e78..61b7294204667f582354809411ce42bdf74782c2 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -12,7 +12,6 @@
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <regex.h>
 #include <signal.h>
 #include <fnmatch.h>
 #include <osl.h>
diff --git a/aft.c b/aft.c
index 132f511940c6af0961fd9ca59087150df98b4b26..4a4c46fc80eaa178c9544792d7aaa778f2651a23 100644 (file)
--- a/aft.c
+++ b/aft.c
@@ -2,7 +2,6 @@
 
 /** \file aft.c Audio file table functions. */
 
-#include <regex.h>
 #include <sys/mman.h>
 #include <fnmatch.h>
 #include <sys/shm.h>
index af4adc46382da236e7fec5786fa3d40234f16546..9a937ee7b316a25b28ad5f5b0ae4bb8dde5d2da1 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file alsa_mix.c The ALSA mixer plugin. */
 
-#include <regex.h>
 #include <alsa/asoundlib.h>
 
 #include "para.h"
index 7e71d4aef70396c4ee7599d9ca890f7ec9cc04d5..529ae63982bffdac29c53e80b8649d6d7f505d70 100644 (file)
@@ -8,7 +8,6 @@
  * based on the vplay program by Michael Beck.
  */
 
-#include <regex.h>
 #include <sys/types.h>
 #include <alsa/asoundlib.h>
 #include <lopsub.h>
index be69ad67a8d78d419f3147546785130e42c7b80b..a5b222187fe7edd2f9a33e9e9da99c5a2113394a 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file amp_filter.c Paraslash's amplify filter. */
 
-#include <regex.h>
 #include <lopsub.h>
 
 #include "filter_cmd.lsg.h"
index cc1a4f0facd58e738976600a653266a6066556f8..46efd1e30288471d9fc408285d986452689199c9 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <pthread.h>
 #include <ao/ao.h>
-#include <regex.h>
 #include <lopsub.h>
 
 #include "write_cmd.lsg.h"
index 51630b257f7d88829c657361b06c1fd09d008326..0496641c3eaa36a57d7cb98d8787a44e56440e48 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file attribute.c Attribute handling functions. */
 
-#include <regex.h>
 #include <osl.h>
 #include <lopsub.h>
 
index f2e4cb91de228dcd78cae534e08d76e8514b6d88..2614077f1deb59ae8f473a13f8a5b89fa49950ea 100644 (file)
--- a/audioc.c
+++ b/audioc.c
@@ -4,7 +4,6 @@
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <regex.h>
 #include <sys/types.h>
 #include <arpa/inet.h>
 #include <sys/un.h>
index 3e86af537431ff67b00a47694fcaa506dea41837..4ac23ded526ff6933c02970c82a9707682052c32 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -4,7 +4,6 @@
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <regex.h>
 #include <sys/types.h>
 #include <arpa/inet.h>
 #include <sys/un.h>
index a7b65b1aa024f80c91866ea1f0c7b6a6e353765e..f34a25f288d3363b7973e13d1160489b0971fb42 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <regex.h>
 #include <sys/types.h>
 #include <arpa/inet.h>
 #include <sys/un.h>
index 7deac58c3aafc37e4ad2910461cf0b6c40830d8a..04b74ead0423c4bce963af0b03587e0ef8969c44 100644 (file)
--- a/base64.c
+++ b/base64.c
@@ -6,8 +6,6 @@
 
 /** \file base64.c Uudecode and base64decode implementation. */
 
-#include <regex.h>
-
 #include "para.h"
 #include "error.h"
 #include "base64.h"
index a1c7c943138d41993807109be09969a58e914a0b..7766394e111609b4c26c33f721d2a8b73ba255e0 100644 (file)
@@ -13,8 +13,6 @@
 
 /** \file bitstream.c Bitstream API for the wma decoder. */
 
-#include <regex.h>
-
 #include "para.h"
 #include "error.h"
 #include "string.h"
diff --git a/blob.c b/blob.c
index 1b969484bb6f92509673dcd07edb18360e30adfc..d7859301ff786c54e5adb9401267a3d4ca36f75b 100644 (file)
--- a/blob.c
+++ b/blob.c
@@ -2,7 +2,6 @@
 
 /** \file blob.c Macros and functions for blob handling. */
 
-#include <regex.h>
 #include <fnmatch.h>
 #include <osl.h>
 #include <lopsub.h>
index 255dc47531e9d94ebe32046ea85a0ece5be3b888..049eed364fad5e7315523b23f53d1d70b56d6461 100644 (file)
@@ -1,7 +1,6 @@
 /* Copyright (C) 2009 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
 
 /** \file buffer_tree.c Buffer tree and buffer pool implementations. */
-#include <regex.h>
 
 #include "para.h"
 #include "list.h"
index 48a204bb598c1f9ebc873b10d64704eb256cc2de..5b680deb532991711fa692cae2d2d3706ba797a5 100644 (file)
@@ -2,8 +2,6 @@
 
 /** \file check_wav.c Detect and delete a wav header. */
 
-#include <regex.h>
-
 #include "para.h"
 #include "string.h"
 #include "list.h"
index 1f11359fcb16e4e55073a5fd36d5d5cff7f5504c..f9b6d83a6b87280eed5f373969c641fbdd7b316f 100644 (file)
@@ -2,8 +2,6 @@
 
 /** \file chunk_queue.c Queuing functions for paraslash senders. */
 
-#include <regex.h>
-
 #include "para.h"
 #include "list.h"
 #include "afh.h"
index 14b98b76b7c3c29ab8175eeba776a85048b60a1f..1d5eabab319c1531271d2eede4e8998e6feee410 100644 (file)
--- a/client.c
+++ b/client.c
@@ -2,7 +2,6 @@
 
 /** \file client.c The client program used to connect to para_server. */
 
-#include <regex.h>
 #include <signal.h>
 #include <lopsub.h>
 
index 396fd88c894cda20e4f55a7955a9a4fe77e9633d..4f0ea303461349a781c9dd05a0bfca7abf1e76ab 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <regex.h>
 #include <sys/types.h>
 #include <arpa/inet.h>
 #include <sys/un.h>
index 809f027e278d44f4413482ba433b8893b8be0843..3732cf30ff14d6905178a6ba76e2d38246005187 100644 (file)
@@ -2,8 +2,6 @@
 
 /** \file close_on_fork.c Manage a list of fds that should be closed on fork. */
 
-#include <regex.h>
-
 #include "para.h"
 #include "list.h"
 #include "string.h"
index 5cdeb7b4dc82533d4752c1320a76c89d5acc17b3..5120fa33c2399a48e7b265591f0941c1d4adf496 100644 (file)
--- a/command.c
+++ b/command.c
@@ -4,7 +4,6 @@
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <regex.h>
 #include <signal.h>
 #include <arpa/inet.h>
 #include <netdb.h>
index 1bce35f53f9ef3411a57bc6ea4564df6eea419b7..0f17905eb093c3cf7505a80c1beebdc4a697dbc7 100644 (file)
@@ -6,7 +6,6 @@
  * Uses ideas of AudioCompress, (C) 2002-2004  M. Hari Nezumi <magenta@trikuare.cx>
  */
 
-#include <regex.h>
 #include <lopsub.h>
 
 #include "filter_cmd.lsg.h"
index 286ebe38f2215b879c3171183490b2199779f500..59c32ca8dedc69ef4d71f13420fc41260b227ab7 100644 (file)
@@ -2,8 +2,6 @@
 
 /** \file crypt_common.c Crypto functions independent of openssl/libgcrypt. */
 
-#include <regex.h>
-
 #include "para.h"
 #include "error.h"
 #include "string.h"
index d8f598bef0c2eb1709fa46169c314e17a212d7b8..594dc1b0a78e4b2c6689cbd947b5fb636e9e6710 100644 (file)
--- a/daemon.c
+++ b/daemon.c
@@ -2,7 +2,6 @@
 
 /** \file daemon.c Some helpers for programs that detach from the console. */
 
-#include <regex.h>
 #include <pwd.h>
 #include <sys/types.h> /* getgrnam() */
 #include <grp.h>
index 0b20bcc8b1149132c4a1fa81a238c4479cb60df6..1c0628fc1330d4eb3a69cf11a61a58439ab3e295 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <regex.h>
 #include <sys/types.h>
 #include <arpa/inet.h>
 #include <sys/un.h>
index 6182c964fde04719ee4736dc43482caf434ee395..ed495c6a4692d744797624b754a4c97570a61b8c 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <regex.h>
 #include <sys/types.h>
 #include <arpa/inet.h>
 #include <sys/un.h>
diff --git a/exec.c b/exec.c
index 60496d537cfd6f721c11cdacd663d36abf519632..01ad30b1dfab839457d6ee9262f130e8e1a18468 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -2,8 +2,6 @@
 
 /** \file exec.c Helper functions for spawning new processes. */
 
-#include <regex.h>
-
 #include "para.h"
 #include "error.h"
 #include "fd.h"
diff --git a/fd.c b/fd.c
index 1af902f9af440cbf570377ed219eea08e76417a2..1a71f45a3e0205fb754362551a040adf3971cf9a 100644 (file)
--- a/fd.c
+++ b/fd.c
@@ -2,7 +2,6 @@
 
 /** \file fd.c Helper functions for file descriptor handling. */
 
-#include <regex.h>
 #include <sys/types.h>
 #include <dirent.h>
 #include <sys/mman.h>
diff --git a/fec.c b/fec.c
index 932e0693e3786fc28b5a180428a9b296534a1fd5..b5df0c169e06d8bcf9b5703bca053b1684398778 100644 (file)
--- a/fec.c
+++ b/fec.c
@@ -33,8 +33,6 @@
  * OF SUCH DAMAGE.
  */
 
-#include <regex.h>
-
 #include "para.h"
 #include "error.h"
 #include "portable_io.h"
index 375f4c0afb244b52e5d7b437a6b612c3da9d7f5b..6bdd4e800b1b2a562b44a19a2adb2588f8fa8277 100644 (file)
@@ -2,8 +2,6 @@
 
 /** \file fecdec_filter.c A filter that fec-decodes an audio stream. */
 
-#include <regex.h>
-
 #include "para.h"
 #include "error.h"
 #include "list.h"
index ba902070d9498677e94872860aeb9bbcbcd5235e..7fc0cd2ee23bfb2ca4c044470ef492fc446840c1 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file file_write.c simple output plugin for testing purposes */
 
-#include <regex.h>
 #include <sys/types.h>
 #include <lopsub.h>
 
index 50447ec0cd2a165c974e4fea68e288e98a1713e3..34f83eb8e4aabc4c6d8436a0a514cdfe28f5d90b 100644 (file)
--- a/filter.c
+++ b/filter.c
@@ -2,7 +2,6 @@
 
 /** \file filter.c The stand-alone filter program. */
 
-#include <regex.h>
 #include <lopsub.h>
 
 #include "filter.lsg.h"
index bcc79f55264b3e8264b0f4171eed40c073ee9b97..2d2ef1eba191b3235d7bfeb15532bb4875f8b169 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file filter_common.c Common helper functions for filter input/output. */
 
-#include <regex.h>
 #include <sys/types.h>
 #include <lopsub.h>
 
index 2b5b6c1d9aa758e3d2e769756cc3d75f3bb57120..1d0b3bf45dc60acd3f76288544803ee84f052338 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file flac_afh.c Audio format handler for flac files. */
 
-#include <regex.h>
 #include <FLAC/stream_decoder.h>
 #include <FLAC/metadata.h>
 
index bc3a678b52cf7811ca6032e61f1eb6128766f819..61f3aa738871ea05e90933bbf9fe5b60a8da16a0 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file flacdec_filter.c The flac decoder. */
 
-#include <regex.h>
 #include <FLAC/stream_decoder.h>
 
 #include "para.h"
index e5f64688cbbc6ef5aa907fb7336675bdc9818e61..ce63c828bd7f102ff93fbf198e65203984ee6e3a 100644 (file)
--- a/gcrypt.c
+++ b/gcrypt.c
@@ -2,7 +2,6 @@
 
 /** \file gcrypt.c Libgrcypt-based encryption/decryption routines. */
 
-#include <regex.h>
 #include <gcrypt.h>
 
 #include "para.h"
index 1019e579a39d8559b2aecc658c7651fd6b7704dc..daea22ff15255424b63058dd04faf84a0cb0bdcd 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file grab_client.c Functions for grabbing the audio stream. */
 
-#include <regex.h>
 #include <sys/types.h>
 #include <lopsub.h>
 
diff --git a/gui.c b/gui.c
index 56042ad29d2fead24ec6291cf183c7e4e171b4bc..704f50cb2bf17ce96d9c101bdcbbbc46638afed9 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -2,7 +2,6 @@
 
 /** \file gui.c Curses-based interface for paraslash. */
 
-#include <regex.h>
 #include <signal.h>
 #include <sys/types.h>
 #include <curses.h>
index 8d2add19091f4894814c1aeeaeeefee5d5c8c19e..9494b3ab37c0b7cb5147f1d329dac7fb51aca540 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file http_recv.c paraslash's http receiver */
 
-#include <regex.h>
 #include <netinet/in.h>
 #include <sys/socket.h>
 #include <sys/types.h>
index 429b4662a70497d522fd68a0e3467941e7edc959..faf2cfad8f3a07578264945dfc435f3e54c0804c 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <regex.h>
 #include <sys/types.h>
 #include <arpa/inet.h>
 #include <sys/un.h>
diff --git a/imdct.c b/imdct.c
index 2e1089f1f818be4bcdeb20be3d4d7a865943e00e..74b38402772d2e124f0344bdd76a7676f7bb4b3c 100644 (file)
--- a/imdct.c
+++ b/imdct.c
@@ -15,7 +15,6 @@
  */
 
 #include <math.h>
-#include <regex.h>
 
 #include "para.h"
 #include "error.h"
index 3115d539d414b0569db8cfeed28c52835a44899f..3f8b265d89603f18b78dd085a110074305c704d7 100644 (file)
@@ -4,7 +4,6 @@
 
 #include "para.h"
 
-#include <regex.h>
 #include <readline/readline.h>
 #include <readline/history.h>
 #include <sys/ioctl.h>
diff --git a/lsu.c b/lsu.c
index d1c4a4cbe88928bac51c61a993ecf3071e1eb70e..4ce4fea8cd8abc469db33efba3cb3c0c5c65d66c 100644 (file)
--- a/lsu.c
+++ b/lsu.c
@@ -3,7 +3,6 @@
 /** \file lsu.c Utilities related to the lopsub library. */
 
 #include <lopsub.h>
-#include <regex.h>
 
 #include "para.h"
 #include "error.h"
diff --git a/mixer.c b/mixer.c
index 787a72574242e46dd09552bce5534e826a3288ba..92a0be0718c11995d2dc0a5d8cf0309cc981127c 100644 (file)
--- a/mixer.c
+++ b/mixer.c
@@ -2,7 +2,6 @@
 
 /** \file mixer.c A volume fader and alarm clock. */
 
-#include <regex.h>
 #include <lopsub.h>
 #include <math.h>
 
diff --git a/mood.c b/mood.c
index 2d0ed64f02e852d6e45e4e2c2f2101c269a6d65f..0187bc4c615a82dc8fe4dd6fb17594d7744399fc 100644 (file)
--- a/mood.c
+++ b/mood.c
@@ -2,7 +2,6 @@
 
 /** \file mood.c Paraslash's mood handling functions. */
 
-#include <regex.h>
 #include <osl.h>
 #include <lopsub.h>
 
diff --git a/mp.c b/mp.c
index 09b9f720be18f9d69da7e35e4d7f0fe0a2194e5c..94719e5632045e2b75c002786bfef852e8ef4105 100644 (file)
--- a/mp.c
+++ b/mp.c
@@ -27,7 +27,6 @@
 
 #include "para.h"
 
-#include <regex.h>
 #include <fnmatch.h>
 #include <osl.h>
 #include <lopsub.h>
index 0f2bb7603d39eecd74e862ae6a6288bdd5c7c574..8a65c2ab1d74888b8e64923c0c2a35e23fa99226 100644 (file)
--- a/mp3_afh.c
+++ b/mp3_afh.c
@@ -12,8 +12,6 @@
  *                      Johannes Overmann <overmann@iname.com>
  */
 
-#include <regex.h>
-
 #include "para.h"
 #include "error.h"
 #include "afh.h"
index d4d4712f0d25a9e8981e8882ff0cbe1ddef14d0c..63a199e9d394579d06584e7f069b928d7b556077 100644 (file)
@@ -3,7 +3,6 @@
 /** \file mp3dec_filter.c Paraslash's mp3 decoder. */
 
 #include <mad.h>
-#include <regex.h>
 #include <lopsub.h>
 
 #include "filter_cmd.lsg.h"
diff --git a/mp4.c b/mp4.c
index fe9d4b37e3e94c0c906b3cc16234539cde19a6b6..665ebd2d499f03b7bdb14461be8a6da09b9dfe4e 100644 (file)
--- a/mp4.c
+++ b/mp4.c
@@ -14,8 +14,6 @@
  * has been documented. See the git commit log for details.
  */
 
-#include <regex.h>
-
 #include "para.h"
 #include "error.h"
 #include "portable_io.h"
diff --git a/net.c b/net.c
index 9b3624428d5e8a0f63df7d814783df20afa54385..a0650a2394f1be593b1235e22d09c943a2269c86 100644 (file)
--- a/net.c
+++ b/net.c
@@ -10,7 +10,6 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>
-#include <regex.h>
 
 #include "error.h"
 #include "net.h"
index 5da339fe162ecec96d21cfa05fbde48b51f2a307..c24d0f594c70245c870ffc8daa849f9b0a5e273f 100644 (file)
--- a/ogg_afh.c
+++ b/ogg_afh.c
@@ -3,7 +3,6 @@
 /** \file ogg_afh.c Audio format handler for ogg/vorbis files. */
 
 #include <vorbis/codec.h>
-#include <regex.h>
 
 #include "para.h"
 #include "afh.h"
index 0a27a4acebc1652da03dea1573bf337eaf9c52a9..8e863aa3dbd7b09eaf833f6a56626833b08a0834 100644 (file)
@@ -3,7 +3,6 @@
 /** \file ogg_afh_common.c Functions common to all ogg/ codecs. */
 
 #include <ogg/ogg.h>
-#include <regex.h>
 
 #include "para.h"
 #include "afh.h"
index 91c18c48899bd4741a6efe55c1d9a734e3ecfb14..e7f0f370252ed4f36a8b11c00a082fbb919fbb69 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file oggdec_filter.c Paraslash's ogg vorbis decoder. */
 
-#include <regex.h>
 #include <vorbis/vorbisfile.h>
 
 #include "para.h"
index a5a6a17576989ed51fbe36c116effb3ae0679f1a..ba07f0435f1cfcbfc2e20261eaabc3ee263eaca9 100644 (file)
--- a/openssl.c
+++ b/openssl.c
@@ -2,7 +2,6 @@
 
 /** \file openssl.c Openssl-based encryption/decryption routines. */
 
-#include <regex.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <openssl/rand.h>
index 0a291bb16c18b6705b70ff0260e97b502068f500..d47f3eaa2431daac484f711367cfd0a735bb6199 100644 (file)
@@ -3,7 +3,6 @@
 /** \file opus_afh.c Audio format handler for ogg/opus files. */
 
 #include <ogg/ogg.h>
-#include <regex.h>
 
 #include "para.h"
 #include "afh.h"
index 504ba0e881ef7fe268670be28d267b68c85188d2..12129435b5d66fdaa1bb59a79f10e3a765fa7bd3 100644 (file)
@@ -41,7 +41,6 @@
 #define __STDC_VERSION__ 0
 #endif
 
-#include <regex.h>
 #include <opus/opus.h>
 #include <opus/opus_multistream.h>
 #include <ogg/ogg.h>
index 0814336fdc20fcebce15f344910c658726be831c..f790d6f32809b0222ba0a6608e8a1786d4c107a0 100644 (file)
--- a/oss_mix.c
+++ b/oss_mix.c
@@ -4,7 +4,6 @@
 
 #include <sys/soundcard.h>
 #include <sys/ioctl.h>
-#include <regex.h>
 
 #include "para.h"
 #include "error.h"
index 4ea85afa73f45023c8f22ffe54e875343ea3d13e..47fa781c836b74384d709d668bb3ffb7aa8c5966 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file oss_write.c Paraslash's oss output plugin. */
 
-#include <regex.h>
 #include <sys/ioctl.h>
 #include <sys/soundcard.h>
 #include <lopsub.h>
diff --git a/para.h b/para.h
index 6f1565aaaf65a6df871a4a9951d55a9c17653274..d97ffd2b2a67291bd89323607f2524a6aafccdac 100644 (file)
--- a/para.h
+++ b/para.h
@@ -21,6 +21,7 @@
 #include <inttypes.h>
 #include <sys/uio.h>
 #include <poll.h>
+#include <regex.h>
 
 #include "gcc-compat.h"
 
diff --git a/play.c b/play.c
index 359eb371bdcb721c77fb9a90eaab2472b904a211..c38aded70829e7a8687d9c1a290409021d69d6a4 100644 (file)
--- a/play.c
+++ b/play.c
@@ -2,7 +2,6 @@
 
 /** \file play.c Paraslash's standalone player. */
 
-#include <regex.h>
 #include <signal.h>
 #include <lopsub.h>
 
index 3df9bae2698e8b5e305897c47e77083d1b5389ca..3a7df149189df5052875d626314e85d8ad402cf6 100644 (file)
@@ -1,6 +1,5 @@
 /* Copyright (C) 2007 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
 
-#include <regex.h>
 #include <osl.h>
 #include <lopsub.h>
 
index 28b710108d435bd40d5970ca117b103d6fb0b1a3..fc79facf7f17f4207071e46620beecfb01c64cfd 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file prebuffer_filter.c Paraslash's prebuffering filter. */
 
-#include <regex.h>
 #include <lopsub.h>
 
 #include "para.h"
diff --git a/recv.c b/recv.c
index 68417187348b058b375993b9a74eb6c2ca7d826b..a2f73e4ed75e7789775d740c5a2f0853ef3484af 100644 (file)
--- a/recv.c
+++ b/recv.c
@@ -2,7 +2,6 @@
 
 /** \file recv.c the stand-alone audio stream receiver */
 
-#include <regex.h>
 #include <sys/types.h>
 #include <lopsub.h>
 
index 1939300a7c946d68d1b324ee6beb8c0bf146893b..1f741e123d37574c12aa3bf068b0636c9281e1a9 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file recv_common.c common functions of para_recv and para_audiod */
 
-#include <regex.h>
 #include <inttypes.h>
 #include <lopsub.h>
 
index 6d4599a8f6718a4fafa7c3f2cf1e2296002609ac..cd7e6f3da5d1c7d6b69aac99717a37a87e0965cd 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file resample_filter.c A sample rate converter based on libsamplerate. */
 
-#include <regex.h>
 #include <samplerate.h>
 #include <lopsub.h>
 
index 0e706f0f1ad6e906732f3bc95e8b653da53f9a6d..6733b6bee72e46b7b17a39af9092865fee29afe3 100644 (file)
@@ -2,8 +2,6 @@
 
 /** \file ringbuffer.c Simple ringbuffer implementation */
 
-#include <regex.h>
-
 #include "para.h"
 #include "ringbuffer.h"
 #include "string.h"
diff --git a/sched.c b/sched.c
index 20822038b81aff04d8ee8c21f7f8d7773831ca37..475dead54d1a8db988fbbf159179aca2e0f6ec3e 100644 (file)
--- a/sched.c
+++ b/sched.c
@@ -2,7 +2,6 @@
 
 /** \file sched.c Paraslash's scheduling functions. */
 
-#include <regex.h>
 
 #include "para.h"
 #include "ipc.h"
diff --git a/score.c b/score.c
index c03e3472da306a1d535b201ea2d23c90ccf8f90a..26157f07ac19b9ec3832bca8943f1af2514b1e5e 100644 (file)
--- a/score.c
+++ b/score.c
@@ -1,7 +1,6 @@
 /* Copyright (C) 2007 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
 
 /** \file score.c Scoring functions to determine the audio file streaming order. */
-#include <regex.h>
 #include <osl.h>
 #include <lopsub.h>
 
index 8dc82e9cba42aecf027761c7682289fb0a9b6797..324e40019ff31691ea267520c8ecea8f0d465c7d 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <regex.h>
 #include <osl.h>
 #include <arpa/inet.h>
 #include <sys/un.h>
index ea9cc9c003616762a96aa546c381d54417fd34a2..1c89fbfe84525a44e1385f8c30208cfc59a99965 100644 (file)
--- a/server.c
+++ b/server.c
@@ -5,7 +5,6 @@
 #include <netinet/in.h>
 #include <sys/socket.h>
 #include <signal.h>
-#include <regex.h>
 #include <osl.h>
 #include <sys/types.h>
 #include <arpa/inet.h>
index d4876234a192a956f112c48f871ed1fb0d5321b7..ad9533fe068ba87d8c6a74e4ed6c0c0335bec4a6 100644 (file)
@@ -2,8 +2,6 @@
 
 /** \file sideband.c Implementation of the sideband API. */
 
-#include <regex.h>
-
 #include "para.h"
 #include "error.h"
 #include "portable_io.h"
index d9a6aa37057415117c32a6a18c33d81977499392..7cf4bb9f536a86b3b5f045897000c4d61fe4ef9e 100644 (file)
--- a/signal.c
+++ b/signal.c
@@ -3,7 +3,6 @@
 
 #include <signal.h>
 #include <sys/types.h>
-#include <regex.h>
 
 #include "para.h"
 #include "error.h"
index cd3b7cde907388465f04ead39af10bd125d154ca..2f404209677d7f46745e66165c8cb0d984de7c51 100644 (file)
--- a/spx_afh.c
+++ b/spx_afh.c
@@ -35,7 +35,6 @@
 /** \file spx_afh.c Audio format handler for ogg/speex files. */
 
 #include <ogg/ogg.h>
-#include <regex.h>
 #include <speex/speex.h>
 #include <speex/speex_header.h>
 #include <speex/speex_stereo.h>
index b8eb99122dc5e273154302752f2be47acd9d0f99..e7ef1e79c23fe96c1feaa932ec6febba869a9d7f 100644 (file)
@@ -42,7 +42,6 @@
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
-#include <regex.h>
 #include <speex/speex_header.h>
 #include <speex/speex_stereo.h>
 #include <speex/speex_callbacks.h>
index ce72125e125951feb2a14bd0add6e61762e77b1a..d6009b6afad288c08394e696c215866817db5ee7 100644 (file)
@@ -40,7 +40,6 @@
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#include <regex.h>
 #include <ogg/ogg.h>
 #include <speex/speex.h>
 #include <speex/speex_header.h>
diff --git a/stat.c b/stat.c
index 43e7998ad3fababb6ed74e18b40ad34f99b38244..1864ff1beac90bee1da9afd2b7397702622a181a 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -5,13 +5,10 @@
  *  and para_audiod.
  */
 
-#include <regex.h>
-
 #include "para.h"
 #include "error.h"
 #include "string.h"
 
-
 /** The minimal length of a status item buffer. */
 #define MIN_STAT_ITEM_LEN 9 /* 5 + 2 + 2, e.g. '0005 00:\n' */
 
diff --git a/stdin.c b/stdin.c
index d025b949e8e8d2566abde3f2f214db7998ba44ff..04b2f201d5c4157c777c546945769ab573aa011e 100644 (file)
--- a/stdin.c
+++ b/stdin.c
@@ -2,8 +2,6 @@
 
 /** \file stdin.c Functions that deal with reading from stdin. */
 
-#include <regex.h>
-
 #include "para.h"
 #include "list.h"
 #include "sched.h"
index eee01aa27a514aea87b36ceda64c37e34aa6d501..83ad87e1174d93b3537aad2981c10f10df69b84a 100644 (file)
--- a/string.c
+++ b/string.c
@@ -6,7 +6,6 @@
 
 #include <pwd.h>
 #include <sys/utsname.h> /* uname() */
-#include <regex.h>
 #include <langinfo.h>
 #include <wchar.h>
 #include <wctype.h>
index 20db1b1d1136066a7a12b88b0f4b8cc539daea62..b1c283db3b4cdf0cd15e77b0ad2691f3f583d685 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <regex.h>
 #include <sys/types.h>
 #include <arpa/inet.h>
 #include <sys/un.h>
index f98a9664aec2d1ee3d8129e70442468423fa79a8..5189abfefdef921576b0326c262ba8718ab6bd58 100644 (file)
@@ -2,7 +2,6 @@
 /** \file udp_recv.c Paraslash's udp receiver */
 
 #include <netinet/in.h>
-#include <regex.h>
 #include <sys/socket.h>
 #include <net/if.h>
 #include <sys/types.h>
index fe001025bc1ad6c73c0e64c8589977db1e3203af..58d56bec1d145c497772803c0d3eebb5ef940bae 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <regex.h>
 #include <sys/types.h>
 #include <netinet/udp.h>
 #include <net/if.h>
index 487d46c06f2ce1df61630aaa34ca44dc99fb1d86..1114592f87c0d5cb215df74932504fae9ee70e50 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <osl.h>
 #include <lopsub.h>
-#include <regex.h>
 
 #include "upgrade_db.lsg.h"
 #include "para.h"
index 46770edf701e983d424e8869e7c9ccd4730c3cf9..6fb2a1773db2c8fbcd5deb9ca8732a082719edb5 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file user_list.c User handling for para_server. */
 
-#include <regex.h>
 #include <sys/types.h>
 
 #include "para.h"
diff --git a/vss.c b/vss.c
index f42e42826e84e1e22ccff4bd2529535a216b46dd..036fb9fe7a50c9502320be5ddc042d1dbeef5e4b 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -9,7 +9,6 @@
 
 #include <sys/socket.h>
 #include <netinet/in.h>
-#include <regex.h>
 #include <osl.h>
 #include <sys/types.h>
 #include <arpa/inet.h>
index de4a3e6aafc76b83de2d9e2f4112c39c6e038d06..1606cd47e0a87226de8598604cce305169a80ab1 100644 (file)
@@ -2,8 +2,6 @@
 
 /** \file wav_filter.c A filter that inserts a wave header. */
 
-#include <regex.h>
-
 #include "para.h"
 #include "error.h"
 #include "list.h"
index 8bff7cfcaa98f8ae3bdfb00f87545c70c7927d94..97f0df4796fd9eec81b2cf01884ec38b51153836 100644 (file)
--- a/wma_afh.c
+++ b/wma_afh.c
@@ -3,7 +3,6 @@
 /** \file wma_afh.c The audio format handler for WMA files. */
 
 #include <sys/types.h>
-#include <regex.h>
 #include <iconv.h>
 
 #include "para.h"
index 5b3d9874bf5f905ef19c6b3689fd8006ad95c759..fdc7c8946198be213cf70d9ee96ee5d0c9dbe8d3 100644 (file)
@@ -15,7 +15,6 @@
  */
 
 #include <math.h>
-#include <regex.h>
 
 #include "para.h"
 #include "error.h"
diff --git a/write.c b/write.c
index cb32d391eaa0f856414aa23318a7573def0d9eef..99f9acc91ec68a3b03757ebf794987f4697a220f 100644 (file)
--- a/write.c
+++ b/write.c
@@ -2,7 +2,6 @@
 
 /** \file write.c Paraslash's standalone wav/raw player. */
 
-#include <regex.h>
 #include <sys/types.h>
 #include <lopsub.h>
 
index 9a13090541895df5b7bc7ee8f42fbc2fda37a9f2..fa03e358dde6d674709f4f79ff280249a1682b86 100644 (file)
@@ -2,7 +2,6 @@
 
 /** \file write_common.c common functions of para_audiod and para_write */
 
-#include <regex.h>
 #include <lopsub.h>
 
 #include "write_cmd.lsg.h"