gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 00bcde6: Removed semi-colon in macros of autho


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 00bcde6: Removed semi-colon in macros of authors-cite.h
Date: Wed, 22 Nov 2017 11:34:01 -0500 (EST)

branch: master
commit 00bcde61d88007fd5960f20c519a030e792a12dd
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Removed semi-colon in macros of authors-cite.h
    
    While trying to find the cause of bug #50957 (`--version' output not
    possible on Mac OS X), I noticed that the macros in all the programs'
    `author-cite.h' have a semi-colon (;) after them. This is not the cause of
    the problem, but can cause other bugs (if the macros are used in the middle
    of a string). So they are now removed.
---
 bin/TEMPLATE/authors-cite.h    | 4 ++--
 bin/arithmetic/authors-cite.h  | 4 ++--
 bin/buildprog/authors-cite.h   | 4 ++--
 bin/convertt/authors-cite.h    | 4 ++--
 bin/convolve/authors-cite.h    | 4 ++--
 bin/cosmiccal/authors-cite.h   | 4 ++--
 bin/crop/authors-cite.h        | 4 ++--
 bin/fits/authors-cite.h        | 4 ++--
 bin/mkcatalog/authors-cite.h   | 2 +-
 bin/mknoise/authors-cite.h     | 4 ++--
 bin/mkprof/authors-cite.h      | 4 ++--
 bin/noisechisel/authors-cite.h | 4 ++--
 bin/statistics/authors-cite.h  | 4 ++--
 bin/table/authors-cite.h       | 4 ++--
 bin/warp/authors-cite.h        | 4 ++--
 15 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/bin/TEMPLATE/authors-cite.h b/bin/TEMPLATE/authors-cite.h
index 5367ec5..8da944d 100644
--- a/bin/TEMPLATE/authors-cite.h
+++ b/bin/TEMPLATE/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/arithmetic/authors-cite.h b/bin/arithmetic/authors-cite.h
index 2c56a91..18a278b 100644
--- a/bin/arithmetic/authors-cite.h
+++ b/bin/arithmetic/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/buildprog/authors-cite.h b/bin/buildprog/authors-cite.h
index dc63077..819ff91 100644
--- a/bin/buildprog/authors-cite.h
+++ b/bin/buildprog/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/convertt/authors-cite.h b/bin/convertt/authors-cite.h
index 376124f..edae411 100644
--- a/bin/convertt/authors-cite.h
+++ b/bin/convertt/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/convolve/authors-cite.h b/bin/convolve/authors-cite.h
index 6d526a1..9d961d6 100644
--- a/bin/convolve/authors-cite.h
+++ b/bin/convolve/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/cosmiccal/authors-cite.h b/bin/cosmiccal/authors-cite.h
index a5ac70e..0d27713 100644
--- a/bin/cosmiccal/authors-cite.h
+++ b/bin/cosmiccal/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/crop/authors-cite.h b/bin/crop/authors-cite.h
index 6745c83..aa4cc17 100644
--- a/bin/crop/authors-cite.h
+++ b/bin/crop/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/fits/authors-cite.h b/bin/fits/authors-cite.h
index 2a674a1..ec4b666 100644
--- a/bin/fits/authors-cite.h
+++ b/bin/fits/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/mkcatalog/authors-cite.h b/bin/mkcatalog/authors-cite.h
index eaa3427..a6e994c 100644
--- a/bin/mkcatalog/authors-cite.h
+++ b/bin/mkcatalog/authors-cite.h
@@ -49,6 +49,6 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
   "  adsnote = {Provided by the SAO/NASA Astrophysics Data System}\n"  \
   "};\n"
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/mknoise/authors-cite.h b/bin/mknoise/authors-cite.h
index 3a4bb5e..7bf93f7 100644
--- a/bin/mknoise/authors-cite.h
+++ b/bin/mknoise/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/mkprof/authors-cite.h b/bin/mkprof/authors-cite.h
index f65b516..d48db6b 100644
--- a/bin/mkprof/authors-cite.h
+++ b/bin/mkprof/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/noisechisel/authors-cite.h b/bin/noisechisel/authors-cite.h
index caaca75..f588515 100644
--- a/bin/noisechisel/authors-cite.h
+++ b/bin/noisechisel/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/statistics/authors-cite.h b/bin/statistics/authors-cite.h
index 185a930..0cdee03 100644
--- a/bin/statistics/authors-cite.h
+++ b/bin/statistics/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/table/authors-cite.h b/bin/table/authors-cite.h
index d3bc2a0..242282a 100644
--- a/bin/table/authors-cite.h
+++ b/bin/table/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif
diff --git a/bin/warp/authors-cite.h b/bin/warp/authors-cite.h
index 79b3705..34c89d5 100644
--- a/bin/warp/authors-cite.h
+++ b/bin/warp/authors-cite.h
@@ -31,8 +31,8 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
    See the `gnuastro_bibtex' variable in `lib/options' (from the top
    Gnuastro source code directory) as an example.*/
 
-#define PROGRAM_BIBTEX "";
+#define PROGRAM_BIBTEX ""
 
-#define PROGRAM_AUTHORS "Mohammad Akhlaghi";
+#define PROGRAM_AUTHORS "Mohammad Akhlaghi"
 
 #endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]