diff --git a/libvips/deprecated/Makefile.am b/libvips/deprecated/Makefile.am index cc2ba735..87700b32 100644 --- a/libvips/deprecated/Makefile.am +++ b/libvips/deprecated/Makefile.am @@ -9,6 +9,7 @@ libdeprecated_la_SOURCES = \ deprecated_dispatch.c \ colour_dispatch.c \ arith_dispatch.c \ + hist_dispatch.c \ im_maxpos_avg.c \ wrapvips7.c \ lazy.c \ diff --git a/libvips/histogram/hist_dispatch.c b/libvips/deprecated/hist_dispatch.c similarity index 100% rename from libvips/histogram/hist_dispatch.c rename to libvips/deprecated/hist_dispatch.c diff --git a/libvips/histogram/Makefile.am b/libvips/histogram/Makefile.am index 8f0d5876..c6b694ea 100644 --- a/libvips/histogram/Makefile.am +++ b/libvips/histogram/Makefile.am @@ -14,7 +14,6 @@ libhistogram_la_SOURCES = \ hist_local.c \ stdif.c \ \ - hist_dispatch.c \ im_mpercent.c \ im_project.c \ tone.c diff --git a/libvips/include/vips/vips7compat.h b/libvips/include/vips/vips7compat.h index 9a4013da..6cab5a45 100644 --- a/libvips/include/vips/vips7compat.h +++ b/libvips/include/vips/vips7compat.h @@ -867,9 +867,10 @@ int im_lhisteq( VipsImage *in, VipsImage *out, int xwin, int ywin ); int im_stdif( VipsImage *in, VipsImage *out, double a, double m0, double b, double s0, int xwin, int ywin ); -/* Not really correct, but who uses this. +/* Not really correct, but who uses these. */ #define im_lhisteq_raw im_lhisteq +#define im_stdif_raw im_stdif /* ruby-vips uses this */