From 405b090a250e6add673905b8ebce6ad23b7f3668 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 8 Nov 2007 18:38:51 +0000 Subject: [PATCH] remove -Wall --- README.embed | 4 +++- evdns.c | 2 +- import_libevent | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.embed b/README.embed index 28bbe07..2842745 100644 --- a/README.embed +++ b/README.embed @@ -17,7 +17,9 @@ FILESETS This will automatically include ev.h, too, and should be done in a single C source file only to provide the function implementations. To - use it, do the same for ev.h in all users: + use it, do the same for ev.h in all files wishing to use this API + (best done by writing a wrapper around ev.h that you can include + instead and where you can put other configuration options): #define EV_STANDALONE 1 #include "ev.h" diff --git a/evdns.c b/evdns.c index a006638..e24aacc 100644 --- a/evdns.c +++ b/evdns.c @@ -1,4 +1,4 @@ -/* $Id: evdns.c,v 1.20 2007-11-08 16:58:00 root Exp $ */ +/* $Id: evdns.c,v 1.21 2007-11-08 18:38:52 root Exp $ */ /* The original version of this module was written by Adam Langley; for * a history of modifications, check out the subversion logs. diff --git a/import_libevent b/import_libevent index 5d94541..04d107f 100755 --- a/import_libevent +++ b/import_libevent @@ -68,6 +68,7 @@ perl -ne ' s/\bepoll_sub.c\b//g; s/\bevent-internal.h\b//g; s/\bevsignal.h\b//g; + s/-Wall//; s/^(EXTRA_DIST\s*=\s*)/$1 ev.h ev_vars.h ev_wrap.h event_compat.h ev_epoll.c ev_select.c ev_poll.c ev_kqueue.c ev_win32.c /; s/^(include_HEADERS\s*=\s*)/$1 ev.h event_compat.h /; s/^(libevent_la_SOURCES\s*=\s*)/$1 ev.c /; -- 2.43.0