aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-08-06 01:12:11 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-08-06 01:23:44 +0300
commit5a4ea9f719c6355b5eb577a6d6a40762667a8059 (patch)
tree91e7f45833bcc2f3d104f1fede658ffc119cf682 /src
parent31cb248e3676c807c96e733bf0b70e3fa26ac3c4 (diff)
downloadvmod-dbrw-5a4ea9f719c6355b5eb577a6d6a40762667a8059.tar.gz
vmod-dbrw-5a4ea9f719c6355b5eb577a6d6a40762667a8059.tar.bz2
Version 2.1release-2.1
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
-rw-r--r--src/vmod_dbrw.c7
2 files changed, 2 insertions, 9 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index f971354..6cda3aa 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with vmod-dbrw. If not, see <http://www.gnu.org/licenses/>.
-AM_CPPFLAGS=$(VARNISHAPI_CFLAGS) -I.
+AM_CPPFLAGS=$(VARNISHAPI_CFLAGS) -I$(srcdir) -I$(builddir)
noinst_LTLIBRARIES = libsql.la
libsql_la_SOURCES = \
be.c\
@@ -42,7 +42,7 @@ libvmod_dbrw_la_LIBADD=./libsql.la
libvmod_dbrw_la_SOURCES = vmod_dbrw.c
nodist_libvmod_dbrw_la_SOURCES = vcc_if.c vcc_if.h
-vmod_dbrw.lo: vcc_if.h
+$(libsql_la_SOURCES:.c=.lo): vcc_if.h
CLEANFILES = vcc_if.c vcc_if.h *.rst
diff --git a/src/vmod_dbrw.c b/src/vmod_dbrw.c
index 9e6af1e..b6fe70c 100644
--- a/src/vmod_dbrw.c
+++ b/src/vmod_dbrw.c
@@ -570,10 +570,3 @@ vmod_rewrite(VRT_CTX, struct vmod_priv *priv, VCL_STRING arg)
debug(conf, 1, ("vmod_rewrite: res=%s", res ? res : "(NULL)"));
return res;
}
-wd()
-{
- int volatile _st=0;
- while (!_st) {
- _st=_st;
- }
-}

Return to:

Send suggestions and report system problems to the System administrator.