diff options
author | TBK <tbk@jjtc.eu> | 2020-03-09 10:47:41 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-25 17:13:42 +0000 |
commit | be4e9928d9fbeb45a36b8601def0782732fb0a98 (patch) | |
tree | 0beb07b5796f84ca6351a659ff71633a4f259eb7 /main/eggdrop/fix-inline-functions.patch | |
parent | 936220e3a5ca223ed285e6b9ad8d37fd8c64218e (diff) | |
download | aports-be4e9928d9fbeb45a36b8601def0782732fb0a98.tar.bz2 aports-be4e9928d9fbeb45a36b8601def0782732fb0a98.tar.xz |
main/eggdrop: upgrade to 1.8.4
Diffstat (limited to 'main/eggdrop/fix-inline-functions.patch')
-rw-r--r-- | main/eggdrop/fix-inline-functions.patch | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/main/eggdrop/fix-inline-functions.patch b/main/eggdrop/fix-inline-functions.patch deleted file mode 100644 index 3856be1f48..0000000000 --- a/main/eggdrop/fix-inline-functions.patch +++ /dev/null @@ -1,70 +0,0 @@ -Description: fix inline functions to build with clang-3.5. See - http://clang.llvm.org/compatibility.html#inline -Author: Arthur Marble <arthur@info9.net> - ---- a/src/match.c -+++ b/src/match.c -@@ -367,7 +367,7 @@ - /* Inline for cron_match (obviously). - * Matches a single field of a crontab expression. - */ --inline int cron_matchfld(char *mask, int match) -+static inline int cron_matchfld(char *mask, int match) - { - int skip = 0, f, t; - char *p, *q; ---- a/src/tclhash.c -+++ b/src/tclhash.c -@@ -109,7 +109,7 @@ - nfree(tl); - } - --inline void garbage_collect_tclhash(void) -+void garbage_collect_tclhash(void) - { - tcl_bind_list_t *tl, *tl_next, *tl_prev; - tcl_bind_mask_t *tm, *tm_next, *tm_prev; ---- a/src/tclhash.h -+++ b/src/tclhash.h -@@ -75,7 +75,7 @@ - - #ifndef MAKING_MODS - --inline void garbage_collect_tclhash(void); -+void garbage_collect_tclhash(void); - - void init_bind(void); - void kill_bind(void); ---- a/src/net.c -+++ b/src/net.c -@@ -564,7 +564,7 @@ - /* Returns a socket number for a listening socket that will accept any - * connection -- port # is returned in port - */ --inline int open_listen(int *port) -+int open_listen(int *port) - { - return open_address_listen(myip[0] ? getmyip() : INADDR_ANY, port); - } ---- a/src/proto.h -+++ b/src/proto.h -@@ -271,7 +271,7 @@ - void killsock(int); - void killtclsock(int); - int answer(int, char *, unsigned long *, unsigned short *, int); --inline int open_listen(int *); -+int open_listen(int *); - int open_address_listen(IP addr, int *); - int open_telnet(char *, int); - int open_telnet_dcc(int, char *, char *); ---- a/src/userrec.c -+++ b/src/userrec.c -@@ -77,7 +77,7 @@ - #endif - } - --inline int expmem_mask(struct maskrec *m) -+static inline int expmem_mask(struct maskrec *m) - { - int result = 0; - |