[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master e8e5aac: Removed remaining linkedlist.h header
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master e8e5aac: Removed remaining linkedlist.h headers |
Date: |
Fri, 5 May 2017 11:22:29 -0400 (EDT) |
branch: master
commit e8e5aac832aac2f53ffaede2986f2124ed37d8e0
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>
Removed remaining linkedlist.h headers
Recently the `linkedlist.h' header was changed to `list.h'. But I had
forgot to remove some refences to it in the code. So if a previous version
of Gnuastro wasn't already available on the system, it would crash
(complaining about the non-existence of `linkedlist.h'). All such
occurances have been removed.
This was promptly reported by Alan Lefor and Guillaume Mahler after the
alpha-release annoucement.
---
bin/TEMPLATE/ui.c | 1 -
bin/arithmetic/ui.c | 1 -
bin/buildprog/ui.c | 1 -
bin/convolve/ui.c | 1 -
bin/cosmiccal/ui.c | 1 -
bin/crop/ui.c | 1 -
bin/fits/keywords.c | 1 -
bin/fits/ui.c | 1 -
bin/mkcatalog/columns.c | 2 --
bin/mkcatalog/ui.c | 1 -
bin/mknoise/ui.c | 1 -
bin/mkprof/oneprofile.c | 1 -
bin/mkprof/ui.c | 1 -
bin/noisechisel/clumps.c | 1 -
bin/statistics/ui.c | 1 -
bin/table/ui.c | 1 -
bin/warp/ui.c | 1 -
configure.ac | 13 +------------
lib/binary.c | 1 -
lib/data.c | 1 -
lib/gnuastro/data.h | 1 -
lib/gnuastro/fits.h | 1 -
lib/options.c | 1 -
23 files changed, 1 insertion(+), 35 deletions(-)
diff --git a/bin/TEMPLATE/ui.c b/bin/TEMPLATE/ui.c
index 5d5101e..f2f6e4f 100644
--- a/bin/TEMPLATE/ui.c
+++ b/bin/TEMPLATE/ui.c
@@ -28,7 +28,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <stdio.h>
#include <gnuastro/fits.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
#include <gnuastro-internal/options.h>
diff --git a/bin/arithmetic/ui.c b/bin/arithmetic/ui.c
index b6c6459..4008f60 100644
--- a/bin/arithmetic/ui.c
+++ b/bin/arithmetic/ui.c
@@ -30,7 +30,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/list.h>
#include <gnuastro/fits.h>
#include <gnuastro/table.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
#include <gnuastro-internal/options.h>
diff --git a/bin/buildprog/ui.c b/bin/buildprog/ui.c
index 1814dc0..48b1423 100644
--- a/bin/buildprog/ui.c
+++ b/bin/buildprog/ui.c
@@ -28,7 +28,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <stdio.h>
#include <gnuastro/fits.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
#include <gnuastro-internal/options.h>
diff --git a/bin/convolve/ui.c b/bin/convolve/ui.c
index eaa0c65..ffa8d2a 100644
--- a/bin/convolve/ui.c
+++ b/bin/convolve/ui.c
@@ -36,7 +36,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/threads.h>
#include <gnuastro/arithmetic.h>
#include <gnuastro/statistics.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
#include <gnuastro-internal/options.h>
diff --git a/bin/cosmiccal/ui.c b/bin/cosmiccal/ui.c
index a212914..c2864de 100644
--- a/bin/cosmiccal/ui.c
+++ b/bin/cosmiccal/ui.c
@@ -31,7 +31,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/fits.h>
#include <gnuastro/table.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
#include <gnuastro-internal/options.h>
diff --git a/bin/crop/ui.c b/bin/crop/ui.c
index 9323e3e..ad66384 100644
--- a/bin/crop/ui.c
+++ b/bin/crop/ui.c
@@ -33,7 +33,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/fits.h>
#include <gnuastro/blank.h>
#include <gnuastro/table.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
#include <gnuastro-internal/options.h>
diff --git a/bin/fits/keywords.c b/bin/fits/keywords.c
index 2a2ce62..d41d049 100644
--- a/bin/fits/keywords.c
+++ b/bin/fits/keywords.c
@@ -29,7 +29,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <stdlib.h>
#include <gnuastro/fits.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/checkset.h>
diff --git a/bin/fits/ui.c b/bin/fits/ui.c
index 5873071..414d3ff 100644
--- a/bin/fits/ui.c
+++ b/bin/fits/ui.c
@@ -29,7 +29,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <string.h>
#include <gnuastro/fits.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/options.h>
#include <gnuastro-internal/checkset.h>
diff --git a/bin/mkcatalog/columns.c b/bin/mkcatalog/columns.c
index 94a867c..6eabcc6 100644
--- a/bin/mkcatalog/columns.c
+++ b/bin/mkcatalog/columns.c
@@ -29,8 +29,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <stdlib.h>
#include <pthread.h>
-#include <gnuastro/linkedlist.h>
-
#include "main.h"
#include "mkcatalog.h"
diff --git a/bin/mkcatalog/ui.c b/bin/mkcatalog/ui.c
index a4a7a1f..9332532 100644
--- a/bin/mkcatalog/ui.c
+++ b/bin/mkcatalog/ui.c
@@ -36,7 +36,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/dimension.h>
#include <gnuastro/arithmetic.h>
#include <gnuastro/statistics.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
#include <gnuastro-internal/options.h>
diff --git a/bin/mknoise/ui.c b/bin/mknoise/ui.c
index bc88d11..35023a9 100644
--- a/bin/mknoise/ui.c
+++ b/bin/mknoise/ui.c
@@ -31,7 +31,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/wcs.h>
#include <gnuastro/fits.h>
#include <gnuastro/table.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
#include <gnuastro-internal/options.h>
diff --git a/bin/mkprof/oneprofile.c b/bin/mkprof/oneprofile.c
index 6ffa274..db84ac6 100644
--- a/bin/mkprof/oneprofile.c
+++ b/bin/mkprof/oneprofile.c
@@ -36,7 +36,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/fits.h>
#include <gnuastro/dimension.h>
#include <gnuastro/statistics.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
diff --git a/bin/mkprof/ui.c b/bin/mkprof/ui.c
index a1d2f37..004b4f4 100644
--- a/bin/mkprof/ui.c
+++ b/bin/mkprof/ui.c
@@ -33,7 +33,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/fits.h>
#include <gnuastro/blank.h>
#include <gnuastro/table.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
#include <gnuastro-internal/options.h>
diff --git a/bin/noisechisel/clumps.c b/bin/noisechisel/clumps.c
index 20f9414..1a671a3 100644
--- a/bin/noisechisel/clumps.c
+++ b/bin/noisechisel/clumps.c
@@ -34,7 +34,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/threads.h>
#include <gnuastro/dimension.h>
#include <gnuastro/statistics.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
#include <gnuastro-internal/checkset.h>
diff --git a/bin/statistics/ui.c b/bin/statistics/ui.c
index 5e0f0ff..dd705b5 100644
--- a/bin/statistics/ui.c
+++ b/bin/statistics/ui.c
@@ -35,7 +35,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/table.h>
#include <gnuastro/threads.h>
#include <gnuastro/arithmetic.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro/statistics.h>
#include <gnuastro-internal/timing.h>
diff --git a/bin/table/ui.c b/bin/table/ui.c
index 15ec59d..1658c06 100644
--- a/bin/table/ui.c
+++ b/bin/table/ui.c
@@ -29,7 +29,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/fits.h>
#include <gnuastro/table.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
#include <gnuastro-internal/options.h>
diff --git a/bin/warp/ui.c b/bin/warp/ui.c
index 9bec0bb..035e25c 100644
--- a/bin/warp/ui.c
+++ b/bin/warp/ui.c
@@ -32,7 +32,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/fits.h>
#include <gnuastro/table.h>
#include <gnuastro/threads.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
#include <gnuastro-internal/options.h>
diff --git a/configure.ac b/configure.ac
index f42d7f2..df71c67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,18 +93,7 @@ AC_DEFINE([IN_GNUASTRO_BUILD], [1], [In building, not usage])
-# Generic flags for all subdirectories. Note that when order matters, we
-# want the user values to be set (and thus used) after the default
-# values. The "AM_" versions of these variables will be confined to the
-# particular Makefile, so we can't define them in the top Makefile.am.
-#
-# About the quotations: the commands here first go through Autoconf which
-# removes one later of quotations. So if `$' is not quoted, it will try to
-# evaluate it. We can't just quote the full right side, because we wand the
-# (possibly) user defined original values that are passed to configure. For
-# the -D value in CPPFLAGS, we want the quotation marks until gcc, which is
-# two layers away from this text: first Autoconf, then Make. So we need two
-# layers of quotations there.
+# Generic compiler flags for all subdirectories.
CFLAGS="-Wall -O3 $CFLAGS"
LDFLAGS="-L\$(top_builddir)/lib $LDFLAGS"
CPPFLAGS="-I\$(top_srcdir)/lib $CPPFLAGS"
diff --git a/lib/binary.c b/lib/binary.c
index da884d0..63aa7dd 100644
--- a/lib/binary.c
+++ b/lib/binary.c
@@ -33,7 +33,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/blank.h>
#include <gnuastro/binary.h>
#include <gnuastro/dimension.h>
-#include <gnuastro/linkedlist.h>
diff --git a/lib/data.c b/lib/data.c
index eaf59b4..eb4f118 100644
--- a/lib/data.c
+++ b/lib/data.c
@@ -39,7 +39,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/tile.h>
#include <gnuastro/blank.h>
#include <gnuastro/table.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/checkset.h>
diff --git a/lib/gnuastro/data.h b/lib/gnuastro/data.h
index 15761c9..65ae92d 100644
--- a/lib/gnuastro/data.h
+++ b/lib/gnuastro/data.h
@@ -41,7 +41,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#endif
#include <gnuastro/type.h>
-#include <gnuastro/linkedlist.h>
diff --git a/lib/gnuastro/fits.h b/lib/gnuastro/fits.h
index 6663099..05299b3 100644
--- a/lib/gnuastro/fits.h
+++ b/lib/gnuastro/fits.h
@@ -46,7 +46,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/data.h>
#include <gnuastro/table.h>
-#include <gnuastro/linkedlist.h>
/* C++ Preparations */
#undef __BEGIN_C_DECLS
diff --git a/lib/options.c b/lib/options.c
index de32e35..efe39b7 100644
--- a/lib/options.c
+++ b/lib/options.c
@@ -34,7 +34,6 @@ along with Gnuastro. If not, see
<http://www.gnu.org/licenses/>.
#include <gnuastro/data.h>
#include <gnuastro/table.h>
#include <gnuastro/arithmetic.h>
-#include <gnuastro/linkedlist.h>
#include <gnuastro-internal/timing.h>
#include <gnuastro-internal/options.h>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-commits] master e8e5aac: Removed remaining linkedlist.h headers,
Mohammad Akhlaghi <=