]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Remove imp.h and exp.h header files
authorAlexander Barton <alex@barton.de>
Sun, 16 Mar 2014 23:17:02 +0000 (00:17 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 16 Mar 2014 23:17:02 +0000 (00:17 +0100)
These include files don't have a function any more, remove them.

44 files changed:
src/ngircd/channel.c
src/ngircd/class.c
src/ngircd/client-cap.c
src/ngircd/client.c
src/ngircd/conf.c
src/ngircd/conn-encoding.c
src/ngircd/conn-func.c
src/ngircd/conn-ssl.c
src/ngircd/conn-zip.c
src/ngircd/conn.c
src/ngircd/hash.c
src/ngircd/irc-cap.c
src/ngircd/irc-channel.c
src/ngircd/irc-encoding.c
src/ngircd/irc-info.c
src/ngircd/irc-login.c
src/ngircd/irc-metadata.c
src/ngircd/irc-mode.c
src/ngircd/irc-op.c
src/ngircd/irc-oper.c
src/ngircd/irc-server.c
src/ngircd/irc-write.c
src/ngircd/irc.c
src/ngircd/lists.c
src/ngircd/log.c
src/ngircd/login.c
src/ngircd/match.c
src/ngircd/ngircd.c
src/ngircd/numeric.c
src/ngircd/op.c
src/ngircd/pam.c
src/ngircd/parse.c
src/ngircd/proc.c
src/ngircd/resolve.c
src/ngircd/sighandlers.c
src/portab/Makefile.ng
src/portab/exp.h [deleted file]
src/portab/imp.h [deleted file]
src/portab/portabtest.c
src/portab/strdup.c
src/portab/strlcpy.c
src/portab/strndup.c
src/portab/waitpid.c
src/tool/tool.c

index 12bd8128b4f803b414c5e5a5ed594d8a53be7953..e879dcdd7368f694c2a7aa44bcf1bb9e78a7e087 100644 (file)
@@ -18,7 +18,6 @@
  * Channel management
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <stdlib.h>
 #include <string.h>
 #include "defines.h"
 #include "conn-func.h"
 
-#include "exp.h"
 #include "channel.h"
 
-#include "imp.h"
 #include "irc-write.h"
 #include "conf.h"
 #include "hash.h"
@@ -41,9 +38,6 @@
 #include "messages.h"
 #include "match.h"
 
-#include "exp.h"
-
-
 #define REMOVE_PART 0
 #define REMOVE_QUIT 1
 #define REMOVE_KICK 2
index d08f4c565001062d6f5e18b515644f9634c56769..df444fec115c9e3052982df102d18d8cfdc027c4 100644 (file)
@@ -16,7 +16,6 @@
  * User class management.
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <string.h>
 
@@ -28,7 +27,6 @@
 #include "match.h"
 #include "stdio.h"
 
-#include "exp.h"
 #include "class.h"
 
 struct list_head My_Classes[CLASS_COUNT];
index b0da8073b112ad3f3f354a592296b0b75b7943da..42463b792aa54b1a6ca9520a6490003d92daa39f 100644 (file)
@@ -18,7 +18,6 @@
  * Functions to deal with IRC Capabilities
  */
 
-#include "imp.h"
 #include <assert.h>
 
 #include "defines.h"
@@ -26,7 +25,6 @@
 #include "client.h"
 #include "log.h"
 
-#include "exp.h"
 #include "client-cap.h"
 
 GLOBAL int
index bfb52e8f95ce091a2ac96faa63048fdddea67857..befb779c663840bdb52df730d88e1a1fbca9b9c7 100644 (file)
@@ -18,7 +18,6 @@
  * Client management.
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <unistd.h>
 #include <stdio.h>
 
 #include "defines.h"
 #include "conn.h"
-
-#include "exp.h"
 #include "client.h"
 
-#include <imp.h>
 #include "ngircd.h"
 #include "channel.h"
 #include "conf.h"
@@ -44,8 +40,6 @@
 #include "match.h"
 #include "messages.h"
 
-#include <exp.h>
-
 #define GETID_LEN (CLIENT_NICK_LEN-1) + 1 + (CLIENT_USER_LEN-1) + 1 + (CLIENT_HOST_LEN-1) + 1
 
 static CLIENT *This_Server, *My_Clients;
index c4b219f807497d249c83ebe6dcd7af3c4571d2a3..90ba72d3cf6398b2ce6693cafbdfed54e54c5841 100644 (file)
@@ -16,7 +16,6 @@
  * Configuration management (reading, parsing & validation)
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <ctype.h>
 #include <errno.h>
@@ -45,7 +44,6 @@
 #include "match.h"
 #include "tool.h"
 
-#include "exp.h"
 #include "conf.h"
 
 
index b827d02ae4d4abe78f67007be5411bd2f218e1f4..c0710d8b07237e29202880b78c254a7128db636c 100644 (file)
@@ -20,7 +20,6 @@
  * Functions to deal with character encodings and conversions
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <stdio.h>
 #include <string.h>
@@ -29,7 +28,6 @@
 #include "conn.h"
 #include "log.h"
 
-#include "exp.h"
 #include "conn-encoding.h"
 
 #ifdef ICONV
index 0ba0ff6c1915932c1cd09448b53b42bd6bc89cd7..758315894604f8cafecf1da2dbc6a88857fba437 100644 (file)
@@ -18,7 +18,6 @@
  * Connection management: Global functions
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <string.h>
 #include "log.h"
@@ -26,7 +25,6 @@
 #include "conn.h"
 #include "client.h"
 
-#include "exp.h"
 #include "conn-func.h"
 
 /**
index 493bcc75c66847e0ed50f118e805d3a81a58da4e..cdb3e24db5ba4bd3f7b01d0b5ef97290578bb201 100644 (file)
@@ -10,7 +10,6 @@
  * SSL wrapper functions
  */
 
-#include "imp.h"
 #include "conf-ssl.h"
 
 #ifdef SSL_SUPPORT
@@ -29,7 +28,6 @@
 #include "conn-ssl.h"
 #include "log.h"
 
-#include "exp.h"
 #include "defines.h"
 
 extern struct SSLOptions Conf_SSLOptions;
index 0a3c17c89b5e07f90945ef245bb072edccb312b0..f9dcb68a58dbc4abe8af898b8f5833e3b031e1a3 100644 (file)
@@ -23,7 +23,6 @@
 /* enable more zlib related debug messages: */
 /* #define DEBUG_ZLIB */
 
-#include "imp.h"
 #include <assert.h>
 #include <string.h>
 #include <zlib.h>
@@ -31,9 +30,8 @@
 #include "conn.h"
 #include "conn-func.h"
 #include "log.h"
-
 #include "array.h"
-#include "exp.h"
+
 #include "conn-zip.h"
 
 
index fad3435734a932f2018b430d71ce32e6dc5bc9b6..5ef28dc064f8bbcb09646d95237643fd3264429d 100644 (file)
@@ -22,7 +22,6 @@
  * Connection management
  */
 
-#include "imp.h"
 #include <assert.h>
 #ifdef PROTOTYPES
 # include <stdarg.h>
 #include "array.h"
 #include "defines.h"
 
-#include "exp.h"
 #include "conn.h"
 
-#include "imp.h"
 #include "ngircd.h"
 #include "array.h"
 #include "client.h"
@@ -73,9 +70,6 @@
 #include "resolve.h"
 #include "tool.h"
 
-#include "exp.h"
-
-
 #define SERVER_WAIT (NONE - 1)
 
 #define MAX_COMMANDS 3
index 3c600384b6b2f034a2d3f3455ad07a20e21d639e..46d1a7b40f931bf16376bec15cef19e288a08d40 100644 (file)
  * Hash calculation
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <string.h>
 
 #include "defines.h"
 #include "tool.h"
 
-#include "exp.h"
 #include "hash.h"
 
 static UINT32 jenkins_hash PARAMS((UINT8 *k, UINT32 length, UINT32 initval));
index 42b0e4da9aa112b464d9754bb2f2632a5f41fedf..c780921ea8e64742507fe221c05281452b9a62d3 100644 (file)
@@ -16,7 +16,6 @@
  * Handler for IRC capability ("CAP") commands
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <string.h>
 
@@ -31,7 +30,6 @@
 #include "messages.h"
 #include "parse.h"
 
-#include "exp.h"
 #include "irc-cap.h"
 
 /* Local functions */
index cab20c493bcb493f95bf3398528118a06f322874..4eee5046763d95ad96e354224e87cb6af07885a4 100644 (file)
@@ -16,7 +16,6 @@
  * IRC channel commands
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -37,7 +36,6 @@
 #include "irc-write.h"
 #include "conf.h"
 
-#include "exp.h"
 #include "irc-channel.h"
 
 /**
index 97b518a063b7adbf124d3760faabaa6fc840c712..dfc412bc9a107a1a9a682f8dcc4d1db980f8921f 100644 (file)
@@ -16,7 +16,6 @@
  * IRC encoding commands
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <string.h>
 
@@ -28,7 +27,6 @@
 #include "parse.h"
 #include "tool.h"
 
-#include "exp.h"
 #include "irc-encoding.h"
 
 #ifdef ICONV
index d367647f4ea7bfd67132d45323049f1a62c5ab66..6a4057292f42820547afb9d3a8ff5b01171eb676 100644 (file)
@@ -16,7 +16,6 @@
  * IRC info commands
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <errno.h>
 #include <stdio.h>
@@ -43,7 +42,6 @@
 #include "client-cap.h"
 #include "op.h"
 
-#include "exp.h"
 #include "irc-info.h"
 
 /* Local functions */
index b7fe5feda3339b9659012f7352563a8c2af3b8cf..c8cff24d845debc3f4bdb415cfd74c36cb1231dc 100644 (file)
@@ -16,7 +16,6 @@
  * Login and logout
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <ctype.h>
 #include <stdlib.h>
@@ -36,7 +35,6 @@
 #include "irc-macros.h"
 #include "irc-write.h"
 
-#include "exp.h"
 #include "irc-login.h"
 
 static void Change_Nick PARAMS((CLIENT * Origin, CLIENT * Target, char *NewNick,
index f7948e6a0d42cbabcdcd1f2a5e0db6731720884e..9a3a94b363fd59e76544c849c86af884b2773626 100644 (file)
@@ -18,7 +18,6 @@
  * IRC metadata commands
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <string.h>
 #include <stdio.h>
@@ -32,7 +31,6 @@
 #include "parse.h"
 #include "tool.h"
 
-#include "exp.h"
 #include "irc-metadata.h"
 
 /**
index a59f085d7f6d4fb9434a07dc7266368bee0240b7..b83c1eb49bc179119b278f75064737bc6f099b24 100644 (file)
@@ -16,7 +16,6 @@
  * IRC commands for mode changes (like MODE, AWAY, etc.)
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -33,7 +32,6 @@
 #include "messages.h"
 #include "conf.h"
 
-#include "exp.h"
 #include "irc-mode.h"
 
 static bool Client_Mode PARAMS((CLIENT *Client, REQUEST *Req, CLIENT *Origin,
index b08d739b84a0195dce311dc162c50221a5ba95f8..0934285ccf3d67751d6a3a5f17518d010ab29748 100644 (file)
@@ -16,7 +16,6 @@
  * Channel operator commands
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <string.h>
 #include <stdio.h>
@@ -31,7 +30,6 @@
 #include "messages.h"
 #include "parse.h"
 
-#include "exp.h"
 #include "irc-op.h"
 
 /* Local functions */
index 88a9e43ed4b1d3b17312bca597802663e7c06783..1a2150f175bfd6e009c641e61176f5b7f758a0db 100644 (file)
@@ -16,7 +16,6 @@
  * IRC operator commands
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -38,7 +37,6 @@
 #include "messages.h"
 #include "op.h"
 
-#include <exp.h>
 #include "irc-oper.h"
 
 /**
index 7dbaba86a6bc20bc70d0d59b6db9969653b234b0..fa1ca966aff877ae5d4fd3f46cd1ff9b84a61286 100644 (file)
@@ -16,7 +16,6 @@
  * IRC commands for server links
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -40,7 +39,6 @@
 #include "irc-write.h"
 #include "op.h"
 
-#include "exp.h"
 #include "irc-server.h"
 
 /**
index 5503344d1aa58702e89b4197d29729d64d357743..c6a3dce23c00b42a7363a0857c162502e4247dd3 100644 (file)
@@ -16,7 +16,6 @@
  * Sending IRC commands over the network
  */
 
-#include "imp.h"
 #include <assert.h>
 #ifdef PROTOTYPES
 #      include <stdarg.h>
@@ -30,7 +29,6 @@
 #include "conn-func.h"
 #include "channel.h"
 
-#include "exp.h"
 #include "irc-write.h"
 
 #define SEND_TO_USER 1
index d6a751a0d427edb091603ad62f54f3083de57ca7..e99f42ff23633d06deaf5b10f4c4ffa46f824688 100644 (file)
@@ -16,7 +16,6 @@
  * IRC commands
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <stdio.h>
 #include <string.h>
@@ -36,7 +35,6 @@
 #include "op.h"
 #include "tool.h"
 
-#include "exp.h"
 #include "irc.h"
 
 static char *Option_String PARAMS((CONN_ID Idx));
index b0accd41edb6476a6d85e27567618b65402906dd..d3efb1f7386e746ecbad05979b9b84cf6a92b8ed 100644 (file)
@@ -16,7 +16,6 @@
  * Management of IRC lists: ban, invite, etc.
  */
 
-#include "imp.h"
 #include <assert.h>
 
 #include "defines.h"
@@ -31,7 +30,6 @@
 #include <string.h>
 #include <strings.h>
 
-#include "exp.h"
 #include "lists.h"
 
 struct list_elem {
index 32cf6cfd60b3da5783d481328c83c61d081d9de3..cc819ad7533f26b88da5e1254502f506f3c3d9c9 100644 (file)
@@ -16,7 +16,6 @@
  * Logging functions
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <errno.h>
 #ifdef PROTOTYPES
@@ -40,7 +39,6 @@
 #include "irc-write.h"
 #include "conf.h"
 
-#include "exp.h"
 #include "log.h"
 
 static bool Is_Daemon;
index 23c3b6848d94e540bc71f7a38ab504ff6bbb9ca8..b3ab2ed3cf70138efb7326d7e9158bcf0b29e713 100644 (file)
@@ -16,7 +16,6 @@
  * Functions to deal with client logins
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -41,7 +40,6 @@
 #include "irc-mode.h"
 #include "irc-write.h"
 
-#include "exp.h"
 #include "login.h"
 
 #ifdef PAM
index 88872f0d9102353b83e79cc6274be451acc58f45..f1a0875ebb3582b46b47fc2c75f388389878c19b 100644 (file)
  * Wildcard pattern matching
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <string.h>
 
-#include "exp.h"
 #include "match.h"
 #include "defines.h"
 #include "tool.h"
index d87623309a134044bfee254429190b39a4f53f2f..b266c534fc51567b7fd94faf3269d47d078f0687 100644 (file)
@@ -17,7 +17,6 @@
  * by the loader of the operating system.
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <errno.h>
 #include <stdio.h>
@@ -49,7 +48,6 @@
 #include "io.h"
 #include "irc.h"
 
-#include "exp.h"
 #include "ngircd.h"
 
 static void Show_Version PARAMS(( void ));
index c5bf4bd3c22f5a4a8367b1f9600f803221431642..e1b160b374554b91c80d967f92b89d0f198bc88b 100644 (file)
@@ -16,7 +16,6 @@
  * Handlers for IRC numerics sent to the server
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include "messages.h"
 #include "parse.h"
 
-#include "exp.h"
 #include "numeric.h"
 
-
 /**
  * Announce a channel and its users in the network.
  */
index 6738d535111c8bc6e30e1968956cbc2ae068c099..66e9d5a2bfc31fa9eaceb6cbd4f00b088c753f57 100644 (file)
@@ -16,7 +16,6 @@
  * IRC operator functions
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <string.h>
 
 #include "messages.h"
 #include "irc-write.h"
 
-#include <exp.h>
 #include "op.h"
 
-
 /**
  * Return and log a "no privileges" message.
  */
index 81d635c8685791186d7a58575335befe6c3aa113..dd15052f008539ca4780d7d2a21dfb35b6e4cee1 100644 (file)
@@ -18,7 +18,6 @@
  * PAM User Authentication
  */
 
-#include "imp.h"
 #include <assert.h>
 
 #include "defines.h"
@@ -37,7 +36,6 @@
 #include <pam/pam_appl.h>
 #endif
 
-#include "exp.h"
 #include "pam.h"
 
 static char *password;
index fdb957c3efe0c52d881ff3cdffd6bf345e98de02..fa91a9b1eb538ab289be6767d65223b1251aa3cf 100644 (file)
@@ -16,7 +16,6 @@
  * IRC command parser and validator.
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include "messages.h"
 #include "tool.h"
 
-#include "exp.h"
 #include "parse.h"
 
-#include "imp.h"
 #include "irc.h"
 #include "irc-cap.h"
 #include "irc-channel.h"
@@ -49,7 +46,6 @@
 #include "irc-write.h"
 #include "numeric.h"
 
-#include "exp.h"
 #include "conf.h"
 
 struct _NUMERIC {
index a5afb5011cb1c468732561d5944fa9f685c1c4e4..4220f1ab16f9101550e40df8e351caa777545b21 100644 (file)
@@ -16,7 +16,6 @@
  * Process management
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <errno.h>
 #include <signal.h>
@@ -27,8 +26,6 @@
 #include "log.h"
 #include "io.h"
 #include "conn.h"
-
-#include "exp.h"
 #include "sighandlers.h"
 #include "proc.h"
 
index 01f730cc868a67458e7120cfc6d1e1485b9c4aa8..d3c89f89ef1ce6810c9150c08c13a004978129ef 100644 (file)
@@ -18,7 +18,6 @@
  * Asynchronous resolver
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <errno.h>
 #include <stdlib.h>
 #include "log.h"
 #include "ng_ipaddr.h"
 
-#include "exp.h"
 #include "resolve.h"
 #include "io.h"
 
-
 static void Do_ResolveAddr PARAMS(( const ng_ipaddr_t *Addr, int Sock, int w_fd ));
 static void Do_ResolveName PARAMS(( const char *Host, int w_fd ));
 
index effef44d8fb8b391e1b222eb2eaabee296632e48..a953d02b9d92013e99181c2303ca470ccf1869ea 100644 (file)
@@ -25,7 +25,6 @@
 #include <sys/types.h>
 #include <sys/wait.h>
 
-#include "imp.h"
 #include "conn.h"
 #include "conf-ssl.h"
 #include "channel.h"
index 17edbdf21b09f087e1606fc73794522f811c9ef8..c96380343e34fa33bed10f41041b678dc11c9153 100644 (file)
@@ -25,7 +25,7 @@ portabtest_LDFLAGS = -L.
 
 portabtest_LDADD = -lngportab
 
-noinst_HEADERS = imp.h exp.h portab.h splint.h
+noinst_HEADERS = portab.h splint.h
 
 maintainer-clean-local:
        rm -f Makefile Makefile.in Makefile.am
diff --git a/src/portab/exp.h b/src/portab/exp.h
deleted file mode 100644 (file)
index d678b99..0000000
+++ /dev/null
@@ -1,21 +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.
- */
-
-/**
- * @file
- * "Export Header" which makes sure, that global functions are not "extern".
- */
-
-#undef GLOBAL
-#define GLOBAL
-
-/* -eof- */
diff --git a/src/portab/imp.h b/src/portab/imp.h
deleted file mode 100644 (file)
index 68b5aee..0000000
+++ /dev/null
@@ -1,21 +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.
- */
-
-/**
- * @file
- * "Import Header" which makes sure that global functions are defined "extern".
- */
-
-#undef GLOBAL
-#define GLOBAL extern
-
-/* -eof- */
index 3602feecf25819a882b7655a6cfba88bf2600322..d7f33f99701feaec7de9da8f5aad0ea2098a4e06 100644 (file)
  * Test program for portab.h and friends ;-)
  */
 
-#include "imp.h"
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#include "exp.h"
-
 int allow_severity = 0, deny_severity = 0;
 
 static void
index 795af7262ab61bbedbb09f797a5d72947427537a..adb19e7aa222b1ed9c38912f037fb6fab02d7fcf 100644 (file)
 
 #ifndef HAVE_STRDUP
 
-#include "imp.h"
 #include <string.h>
 #include <stdlib.h>
 #include <sys/types.h>
 
-#include "exp.h"
-
 GLOBAL char *
 strdup(const char *s)
 {
index ce90a423ad19b7af2158ccad1463db6aa67a1c09..a7f5e2f13486db785a28b4ec33f346c956fc5f6c 100644 (file)
  * <http://cvs.samba.org/cgi-bin/cvsweb/rsync/lib/compat.c>
  */
 
-#include "imp.h"
 #include <string.h>
 #include <sys/types.h>
 
-#include "exp.h"
-
-
 #ifndef HAVE_STRLCAT
 
 GLOBAL size_t
index 578f324cea9ec8830e19ff80863ca2d4752299d3..d63b972867184da3e4137ab2cdead0fd31f7b909 100644 (file)
 
 #ifndef HAVE_STRNDUP
 
-#include "imp.h"
 #include <string.h>
 #include <stdlib.h>
 #include <sys/types.h>
 
-#include "exp.h"
-
 GLOBAL char *
 strndup(const char *s, size_t maxlen)
 {
index 5846bd8fcac853db99958f4aee9a4406b3b09f46..921dd3d6c3980d72c897a69c1a70a0c64469967f 100644 (file)
 
 #ifndef HAVE_WAITPID
 
-#include "imp.h"
 #include <string.h>
 #include <stdlib.h>
 #include <sys/types.h>
 
-#include "exp.h"
-
 GLOBAL int
 waitpid(pid, stat_loc, options)
 int pid, *stat_loc, options;
index 3b9cc255aed18141c38d6548804798bf396ff125..8fe6e05e9fa74d84b7675a29b7d9b3d0a3cba058 100644 (file)
@@ -16,7 +16,6 @@
  * Tool functions
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <ctype.h>
 #include <stdio.h>
@@ -31,7 +30,6 @@
 #include <syslog.h>
 #endif
 
-#include "exp.h"
 #include "tool.h"