commit 2a7dd06ebd9cc72d45a6a4becdbef5213d7b7800 from: Alexander Barton date: Sun Feb 13 16:52:38 2011 UTC Code cleanup: mostly removing empty lines commit - ebfcdb088be271adfe17303163534956715b85e9 commit + 2a7dd06ebd9cc72d45a6a4becdbef5213d7b7800 blob - 81569ce07e1f45ebab4cb4a925b4d498d2e006bd blob + ad4f8dac7cda4a57fd5f57a4901829872900e4ac --- src/ngircd/array.c +++ src/ngircd/array.c @@ -17,7 +17,6 @@ #include "array.h" #include - #include #include @@ -26,9 +25,9 @@ /* Enable more Debug messages in alloc / append / memmove code. */ /* #define DEBUG_ARRAY */ +#define array_UNUSABLE(x) ( !(x)->mem ) -#define array_UNUSABLE(x) ( !(x)->mem ) static bool safemult_sizet(size_t a, size_t b, size_t *res) { blob - 306f4deec0d1db5def2139a80730dcd482d3fcc5 blob + d1f9c6c9790a17748b1a37dbed6ae3bb24e69a84 --- src/ngircd/channel.c +++ src/ngircd/channel.c @@ -8,11 +8,9 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. */ - #define __channel_c__ - #include "portab.h" /** blob - 32623758744f9acc5f120f6c69621d7f8ff2ef51 blob + f44e19468014663ef0f50cfb22725f391aed60f8 --- src/ngircd/channel.h +++ src/ngircd/channel.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __channel_h__ #define __channel_h__ blob - 7a6b275da5918ea0030a12f4aa97804d980cd6ee blob + 0bfe73d383d399e3903b78b540c382242e65bdb5 --- src/ngircd/client.c +++ src/ngircd/client.c @@ -9,9 +9,7 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #define __client_c__ - #include "portab.h" @@ -45,11 +43,9 @@ #include "messages.h" #include - #define GETID_LEN (CLIENT_NICK_LEN-1) + 1 + (CLIENT_USER_LEN-1) + 1 + (CLIENT_HOST_LEN-1) + 1 - static CLIENT *This_Server, *My_Clients; static WHOWAS My_Whowas[MAX_WHOWAS]; blob - 9c7cde4113bd75a1e87ed58ec083d18e882837ed blob + ff4ff2ffa6285a2af8937b6df5bc1049edbe3bdc --- src/ngircd/client.h +++ src/ngircd/client.h @@ -164,8 +164,6 @@ GLOBAL const char *Client_TypeText PARAMS((CLIENT *Cli GLOBAL void Client_DebugDump PARAMS((void)); #endif - #endif - /* -eof- */ blob - c2dde4b79e3a6f6747cdbef3ce60a999571636c8 blob + 3ff5ddd896bf57ee5016f9e4b7b866217e6afb78 --- src/ngircd/conf.c +++ src/ngircd/conf.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - 07fc1079b610f70f5b89ad4f9b57383e074813cc blob + 7632e2bf45e5ed740709db9abe3461800d45fe85 --- src/ngircd/conf.h +++ src/ngircd/conf.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __conf_h__ #define __conf_h__ blob - a50f0daadded8806ad0a6be459da4762fde6bf0e blob + 8b0b6f7161db82c4fd73f0d71faf8ff25c9879c9 --- src/ngircd/conn-func.c +++ src/ngircd/conn-func.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #define CONN_MODULE #include "portab.h" blob - 9f23edc810013cb24b671c6f97f00358cde8badb blob + 729860e45a8b7161eba5f55bc5c9607721b75222 --- src/ngircd/conn-func.h +++ src/ngircd/conn-func.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __conn_func_h__ #define __conn_func_h__ blob - 7a5b1c4cd77b641b0a29ac8f41576b46c02b103d blob + 573f45bf832efc2eaf9eb2ddfdefd780ec3d030f --- src/ngircd/conn-zip.h +++ src/ngircd/conn-zip.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifdef ZLIB #ifndef __conn_zip_h__ @@ -29,10 +28,8 @@ GLOBAL bool Unzip_Buffer PARAMS(( CONN_ID Idx )); GLOBAL long Zip_SendBytes PARAMS(( CONN_ID Idx )); GLOBAL long Zip_RecvBytes PARAMS(( CONN_ID Idx )); - #endif /* __conn_zip_h__ */ #endif /* ZLIB */ - /* -eof- */ blob - e73dd3060e9d51887f21a610418c34b408e4c7f6 blob + 77b2561005ac59b8a372523824560a9591d05f56 --- src/ngircd/conn.c +++ src/ngircd/conn.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #define CONN_MODULE #include "portab.h" blob - 8ce5654da2c294dd5e4b014119f827600c4e9c49 blob + 4228c9e41b933a3de5bd60e2638a78ecc895fc39 --- src/ngircd/conn.h +++ src/ngircd/conn.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __conn_h__ #define __conn_h__ @@ -139,5 +138,4 @@ GLOBAL void Conn_DebugDump PARAMS((void)); #endif - /* -eof- */ blob - ec7bee9320a566321a9990d9c97cff94db98fc6d blob + 688f2d3aed209294817ffe11fc9aa79d9ea24f85 --- src/ngircd/defines.h +++ src/ngircd/defines.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __defines_h__ #define __defines_h__ @@ -113,5 +112,4 @@ #endif - /* -eof- */ blob - 9bf4240903c63e56780e12e1069e767e9386942d blob + eb980d17e2e618b62431bd8f99be95b53ab46f5d --- src/ngircd/hash.c +++ src/ngircd/hash.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** @@ -43,7 +42,6 @@ Hash( const char *String ) (UINT32)strlen(buffer), 42); } /* Hash */ - /* * Die hier verwendete Hash-Funktion stammt aus lookup2.c von Bob Jenkins * (URL: ). Aus dem Header: @@ -56,7 +54,6 @@ Hash( const char *String ) * nicht alle seiner Funktionen werden hier genutzt. */ - #define hashsize(n) ((UINT32)1<<(n)) #define hashmask(n) (hashsize(n)-1) @@ -73,7 +70,6 @@ Hash( const char *String ) c -= a; c -= b; c ^= (b>>15); \ } /* mix */ - static UINT32 jenkins_hash( register UINT8 *k, register UINT32 length, register UINT32 initval ) { @@ -123,5 +119,4 @@ jenkins_hash( register UINT8 *k, register UINT32 lengt return c; } /* jenkins_hash */ - /* -eof- */ blob - 684eeeeef02204eb8218f32eac671bd1ea480fbc blob + b28ff4db44607b8e7009318410be4bffea200bf7 --- src/ngircd/hash.h +++ src/ngircd/hash.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __hash_h__ #define __hash_h__ @@ -22,5 +21,4 @@ GLOBAL UINT32 Hash PARAMS((const char *String )); #endif - /* -eof- */ blob - fb39ecdd99f0b07cb96c6afd61ef05a40468eaa3 blob + 7e78e49f8dd70aefa557f0bb38c98f90921894c8 --- src/ngircd/io.c +++ src/ngircd/io.c @@ -6,7 +6,6 @@ * Please read the file COPYING, README and AUTHORS for more information. * * Copyright (c) 2005 Florian Westphal (westphal@foo.fh-furtwangen.de) - * */ #include "portab.h" blob - 1b8685d03f5b1886902261d4cc9da9b23638131b blob + a7a273d88935776b3b008a6bd854ec7ca427f24a --- src/ngircd/irc-channel.c +++ src/ngircd/irc-channel.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - 89bbafef96459fd1aa468906f7a6fed5f5fd1a1c blob + 685ec0c3044eccd711ea0c9e085fca5acbd5bdfb --- src/ngircd/irc-channel.h +++ src/ngircd/irc-channel.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __irc_channel_h__ #define __irc_channel_h__ @@ -26,8 +25,6 @@ GLOBAL bool IRC_LIST PARAMS((CLIENT *Client, REQUEST * GLOBAL bool IRC_CHANINFO PARAMS((CLIENT *Client, REQUEST *Req )); - #endif - /* -eof- */ blob - de2cd4d9bfd250448b9a86f561269d9ef0e334a3 blob + 46e342711387269a1cc47d19ecf1e1dee870c388 --- src/ngircd/irc-info.c +++ src/ngircd/irc-info.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - 3ed03aa102d067886d856eaf1d6e6671d5e5cb55 blob + 6b6124b9ee9910faa6b9b3003d04926022d11f81 --- src/ngircd/irc-info.h +++ src/ngircd/irc-info.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __irc_info_h__ #define __irc_info_h__ @@ -41,8 +40,6 @@ GLOBAL bool IRC_Send_NAMES PARAMS(( CLIENT *Client, CH GLOBAL bool IRC_Show_MOTD PARAMS(( CLIENT *Client )); GLOBAL bool IRC_Send_ISUPPORT PARAMS(( CLIENT *Client )); - #endif - /* -eof- */ blob - b310d8b84614e7a37737825518125d9eb78ca705 blob + a0f16a98512693b27f85c9a3acad07d6b93847a2 --- src/ngircd/irc-login.c +++ src/ngircd/irc-login.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - f06a5ffae80ff36d486b66cf733ea287e26549e9 blob + 7ba5357114347f69b2915025551496c33c4f486d --- src/ngircd/irc-login.h +++ src/ngircd/irc-login.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __irc_login_h__ #define __irc_login_h__ @@ -29,5 +28,4 @@ GLOBAL bool IRC_QUIT PARAMS((CLIENT *Client, REQUEST * #endif - /* -eof- */ blob - 5639ec1880b237010123c3c15c33f57cc1ca5b2f blob + 57af0bf6c152e6cb1c75e425e4b0b02ff0014653 --- src/ngircd/irc-mode.c +++ src/ngircd/irc-mode.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - 9d13a7eb957e701b7b346dd6457b9d7a084e914d blob + 4447afb502ceb085dcba359231e5022e7aac9b0b --- src/ngircd/irc-mode.h +++ src/ngircd/irc-mode.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __irc_mode_h__ #define __irc_mode_h__ @@ -21,8 +20,6 @@ GLOBAL bool IRC_MODE PARAMS((CLIENT *Client, REQUEST *Req )); GLOBAL bool IRC_AWAY PARAMS((CLIENT *Client, REQUEST *Req )); - #endif - /* -eof- */ blob - 34b0eb0f8e1fea9e00a0087947088b0978a3711e blob + 5e36b02bef478ce9ac2a0d96e411deaf2e11c4cc --- src/ngircd/irc-op.c +++ src/ngircd/irc-op.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - 0c8a0f2059128806a65eef980c6c2f04cb84cb8a blob + 1b551012fbf93555d16b3215dea02de3fdc18d46 --- src/ngircd/irc-op.h +++ src/ngircd/irc-op.h @@ -13,7 +13,6 @@ * Channel operator commands (header) */ - #ifndef __irc_op_h__ #define __irc_op_h__ @@ -21,8 +20,6 @@ GLOBAL bool IRC_KICK PARAMS(( CLIENT *Client, REQUEST *Req )); GLOBAL bool IRC_INVITE PARAMS(( CLIENT *Client, REQUEST *Req )); - #endif - /* -eof- */ blob - 7887ef6075260dd670d907a5e86e8fe322e8b247 blob + e8b8d264d887742166322edfd2b5e9703500ae2c --- src/ngircd/irc-oper.c +++ src/ngircd/irc-oper.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - 6d7600f9d36e1b208232add09886b6021e2ec796 blob + 7d67a0bf77a3708653d8ecc4c6c4cfaffe732b99 --- src/ngircd/irc-oper.h +++ src/ngircd/irc-oper.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __irc_oper_h__ #define __irc_oper_h__ @@ -26,8 +25,6 @@ GLOBAL bool IRC_CONNECT PARAMS((CLIENT *Client, REQUES GLOBAL bool IRC_DISCONNECT PARAMS((CLIENT *Client, REQUEST *Req )); GLOBAL bool IRC_WALLOPS PARAMS(( CLIENT *Client, REQUEST *Req )); - #endif - /* -eof- */ blob - 8877a13c7e09ea7f0fa6ac6196336a119fc61dd3 blob + b592eb9dd5a3be52ac19fd3966f5f0a4bf4517be --- src/ngircd/irc-server.c +++ src/ngircd/irc-server.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - 072f16cc46782bb6e9f59887fcf50550500cf4a6 blob + 39968d0ce710885ca62e3df576bb1808ac0e6496 --- src/ngircd/irc-server.h +++ src/ngircd/irc-server.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __irc_server_h__ #define __irc_server_h__ @@ -24,8 +23,6 @@ GLOBAL bool IRC_SQUIT PARAMS((CLIENT *Client, REQUEST GLOBAL bool IRC_ENDOFMOTD_Server PARAMS((CLIENT *Client)); - #endif - /* -eof- */ blob - 077b45ef621c8e15504052a93969375f5b1df490 blob + 16aac9a081859aa27904e116252d009ba02d3176 --- src/ngircd/irc-write.c +++ src/ngircd/irc-write.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - 9e2aaeaf64fec42d746851f5b6f9d5e63d5b9a88 blob + 8dd9bf74f2897b954c337a1f028cdecbf1cdb64f --- src/ngircd/irc.c +++ src/ngircd/irc.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - cde928f6bf9c0301b260d5fb25b1cf89b2dbfaca blob + b30326dea331b43d24b6951fba6eb1427f6de04c --- src/ngircd/lists.c +++ src/ngircd/lists.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** @@ -211,7 +210,6 @@ Lists_MakeMask(const char *Pattern) } /* Lists_MakeMask */ - bool Lists_Check( struct list_head *header, CLIENT *Client) { blob - c39325ea0ea869bf646e5495eeb812fe6066335d blob + 28f5478d083ccfb30dc9de0cc24331e01fa6371b --- src/ngircd/lists.h +++ src/ngircd/lists.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __lists_h__ #define __lists_h__ @@ -27,7 +26,6 @@ struct list_head { struct list_elem *first; }; - GLOBAL struct list_elem *Lists_GetFirst PARAMS((const struct list_head *)); GLOBAL struct list_elem *Lists_GetNext PARAMS((const struct list_elem *)); @@ -45,4 +43,5 @@ GLOBAL const char *Lists_MakeMask PARAMS((const char * GLOBAL const char *Lists_GetMask PARAMS(( const struct list_elem *e )); #endif + /* -eof- */ blob - ea9b367a799ca4875b0560118e2a95a65cfa3a64 blob + d79de269bc0b47b02b1f4cf445f5acf3ae4828a9 --- src/ngircd/log.c +++ src/ngircd/log.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - b8546cdd57edc44a09544754248094105b18c738 blob + 5222b5d29ba7afb1c34868d2831fcb422de4579e --- src/ngircd/log.h +++ src/ngircd/log.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __log_h__ #define __log_h__ @@ -31,10 +30,8 @@ # define LOG_DEBUG 7 #endif - #define LOG_snotice 1024 - GLOBAL void Log_Init PARAMS(( bool Daemon_Mode )); GLOBAL void Log_Exit PARAMS(( void )); @@ -57,8 +54,6 @@ GLOBAL void Log_Subprocess PARAMS((const int Level, co GLOBAL void Log_InitErrorfile PARAMS(( void )); #endif - #endif - /* -eof- */ blob - 6c28938ef9bb4fc0dc19b3e8d82ed8dd7c3ffef7 blob + 162a4f28a7b35a352903d2b62e534b5365ef0ffc --- src/ngircd/match.c +++ src/ngircd/match.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - b092b967ffb026e576d133d92148faf074e93c2f blob + 2efe3f5ba7ad81b08d0d237487b7112b77e22ebc --- src/ngircd/match.h +++ src/ngircd/match.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __match_h__ #define __match_h__ @@ -21,8 +20,6 @@ GLOBAL bool Match PARAMS(( const char *Pattern, const char *String )); GLOBAL bool MatchCaseInsensitive PARAMS(( const char *Pattern, const char *searchme )); - #endif - /* -eof- */ blob - 07df4e45b0d16b84e2abb23b184a2f0971a49625 blob + 93bef3d78eb0ba033722136ce842a2518a077f5c --- src/ngircd/messages.h +++ src/ngircd/messages.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __messages_h__ #define __messages_h__ @@ -139,8 +138,6 @@ #define RPL_STATSLINKINFOZIP_MSG "211 %s %s %d %ld %ld/%ld %ld %ld/%ld :%ld" #endif - #endif - /* -eof- */ blob - ac69a7532b5eb7dc8dec95bf664df41366b79878 blob + e595caf03ceb0567f478b1939080e0a727d13d71 --- src/ngircd/ngircd.c +++ src/ngircd/ngircd.c @@ -8,7 +8,6 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" @@ -407,7 +406,7 @@ Fill_Version( void ) snprintf(NGIRCd_Version, sizeof NGIRCd_Version, "%s %s-%s", PACKAGE_NAME, PACKAGE_VERSION, NGIRCd_VersionAddition); - } /* Fill_Version */ +} /* Fill_Version */ /** @@ -548,8 +547,8 @@ NGIRCd_getNobodyID(uid_t *uid, gid_t *gid ) *gid = pwd->pw_gid; endpwent(); - return true; -} + return true; +} /* NGIRCd_getNobodyID */ static bool @@ -702,7 +701,7 @@ NGIRCd_Init( bool NGIRCd_NoDaemon ) if (fd > 2) close(fd); return false; -} +} /* NGIRCd_Init */ /* -eof- */ blob - bd699e505094ddddbbfab2bdc46b23294ae664bf blob + fb2379467f7edfbd13756b87d2cade7d7debeb6c --- src/ngircd/ngircd.h +++ src/ngircd/ngircd.h @@ -13,7 +13,6 @@ * Prototypes of the "main module". */ - #ifndef __ngircd_h__ #define __ngircd_h__ @@ -51,5 +50,4 @@ GLOBAL char NGIRCd_ProtoID[COMMAND_LEN];/* Protokoll- #endif - /* -eof- */ blob - 64c7e1e1fb2142e0bd6f3c5850220c669a422756 blob + 7c0737f913d7f6af2303653bb6aea2432cc45a1d --- src/ngircd/op.c +++ src/ngircd/op.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** @@ -32,6 +31,7 @@ #include #include "op.h" + /** * Return and log a "no privileges" message. */ @@ -82,3 +82,6 @@ Op_Check(CLIENT * Client, REQUEST * Req) * to trust remote operators. */ return true; } /* Op_Check */ + + +/* -eof- */ blob - ef42be1456b0ce5099799213963a029e7881d5af blob + 3acab7d53fbf25d3e8a0b700e94af714ec7d8ac1 --- src/ngircd/parse.h +++ src/ngircd/parse.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __parse_h__ #define __parse_h__ @@ -38,12 +37,10 @@ typedef struct _COMMAND long bytes; /* number of bytes created */ } COMMAND; - GLOBAL bool Parse_Request PARAMS((CONN_ID Idx, char *Request )); GLOBAL COMMAND *Parse_GetCommandStruct PARAMS(( void )); #endif - /* -eof- */ blob - ce1bf0d5ba45fefd80eb6900792c60100ea97816 blob + 9aeb68e35e82a9fc0db263d573d2ca91e8e3d158 --- src/ngircd/resolve.c +++ src/ngircd/resolve.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #define RESOLVER_TIMEOUT (Conf_PongTimeout*3)/4 #include "portab.h" blob - 87c693aacc5f068f2fde874b6d0480dd15c6d46d blob + 68491d949365827f4f8a66b7382e9dc2e10c3524 --- src/ngircd/sighandlers.h +++ src/ngircd/sighandlers.h @@ -22,3 +22,5 @@ bool Signals_Init PARAMS((void)); void Signals_Exit PARAMS((void)); #endif + +/* -eof- */ blob - db6fb7eef24de8e6c08bff50c07ef535c2791552 blob + d678b99a3a6c96f93a1b54324594d22bc56d8c22 --- src/portab/exp.h +++ src/portab/exp.h @@ -18,5 +18,4 @@ #undef GLOBAL #define GLOBAL - /* -eof- */ blob - 2c26e57da2d50f68bf7c470766ae60b07eddc870 blob + 68b5aeee91d3689451a577628877182600e7f89a --- src/portab/imp.h +++ src/portab/imp.h @@ -18,5 +18,4 @@ #undef GLOBAL #define GLOBAL extern - /* -eof- */ blob - cb00dfafc057f0798268a2a91efcc37d4eb84db0 blob + a75aa34d03ca88eb878f35cba0c93af9a1b98974 --- src/portab/portab.h +++ src/portab/portab.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __PORTAB__ #define __PORTAB__ blob - 2675409abe61780b26313da652ac1bfac97a9a36 blob + 09afbfd18cb13d1c70495c2175e8df5422d4dd00 --- src/portab/portabtest.c +++ src/portab/portabtest.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - 74dd120f4ec5d1b899563c4e7d839af0b0f9488f blob + be33e475a2573d789b77ff11d623c9869780ffb1 --- src/portab/splint.h +++ src/portab/splint.h @@ -10,7 +10,6 @@ * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. */ - #ifndef __splint__ #define __splint__ @@ -37,8 +36,6 @@ #define WNOHANG 0 - #endif - /* -eof- */ blob - 043898e9e13f72c6013d6a0f26c7390ed4b4735c blob + 4d00772f202a7d10963f596c2f99ca6aaf224ad1 --- src/portab/strtok_r.c +++ src/portab/strtok_r.c @@ -34,4 +34,3 @@ strtok_r(char *str, const char *delim, char **saveptr) } #endif - blob - 081152e123b7f62fda95ad9fbb11e9606f26744d blob + c97a53e809d6481709c03fba7019a1d5ab29b6f1 --- src/portab/vsnprintf.c +++ src/portab/vsnprintf.c @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #include "portab.h" /** blob - ba52f66bb8bc2ff68087ee9c6a51c3a47f08cfe8 blob + 60a65379cb81fa464f774484870eb1e4bb83d946 --- src/tool/tool.h +++ src/tool/tool.h @@ -9,7 +9,6 @@ * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __tool_h__ #define __tool_h__ @@ -40,5 +39,4 @@ GLOBAL int ngt_SyslogFacilityID PARAMS((char *Name, in #endif - /* -eof- */