pspp-cvs
[Top][All Lists]
Advanced

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

[Pspp-cvs] pspp/src/libpspp ChangeLog alloc.h misc.h


From: Ben Pfaff
Subject: [Pspp-cvs] pspp/src/libpspp ChangeLog alloc.h misc.h
Date: Sun, 18 Feb 2007 19:22:23 +0000

CVSROOT:        /cvsroot/pspp
Module name:    pspp
Changes by:     Ben Pfaff <blp> 07/02/18 19:22:23

Modified files:
        src/libpspp    : ChangeLog alloc.h misc.h 

Log message:
        Remove useless parens in #if "defined" operator.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/libpspp/ChangeLog?cvsroot=pspp&r1=1.52&r2=1.53
http://cvs.savannah.gnu.org/viewcvs/pspp/src/libpspp/alloc.h?cvsroot=pspp&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/pspp/src/libpspp/misc.h?cvsroot=pspp&r1=1.5&r2=1.6

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/pspp/pspp/src/libpspp/ChangeLog,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- ChangeLog   7 Feb 2007 04:01:59 -0000       1.52
+++ ChangeLog   18 Feb 2007 19:22:23 -0000      1.53
@@ -1,3 +1,9 @@
+Sun Feb 18 11:21:41 2007  Ben Pfaff  <address@hidden>
+
+       * alloc.h: Remove useless parentheses in #if "defined" operator.
+
+       * misc.h: Ditto.
+
 Tue Feb  6 20:00:13 2007  Ben Pfaff  <address@hidden>
 
        * misc.h [!HAVE_ISINF] (isinf): Define only if isinf is not

Index: alloc.h
===================================================================
RCS file: /cvsroot/pspp/pspp/src/libpspp/alloc.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- alloc.h     15 Dec 2006 00:16:03 -0000      1.2
+++ alloc.h     18 Feb 2007 19:22:23 -0000      1.3
@@ -27,7 +27,7 @@
 void *nmalloc (size_t n, size_t s);
 
 /* alloca() wrapper functions. */
-#if defined (HAVE_ALLOCA) || defined (C_ALLOCA)
+#if defined HAVE_ALLOCA || defined C_ALLOCA
 #ifdef HAVE_ALLOCA_H
 #include <alloca.h>
 #endif

Index: misc.h
===================================================================
RCS file: /cvsroot/pspp/pspp/src/libpspp/misc.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- misc.h      7 Feb 2007 04:01:59 -0000       1.5
+++ misc.h      18 Feb 2007 19:22:23 -0000      1.6
@@ -26,17 +26,17 @@
 
 /* HUGE_VAL is traditionally defined as positive infinity, or
    alternatively, DBL_MAX. */
-#if !HAVE_ISINF && !defined (isinf)
+#if !HAVE_ISINF && !defined isinf
 #define isinf(X) (fabs (X) == HUGE_VAL)
 #endif
 
 /* A Not a Number is not equal to itself. */
-#if !HAVE_ISNAN && !defined (isnan)
+#if !HAVE_ISNAN && !defined isnan
 #define isnan(X) ((X) != (X))
 #endif
 
 /* Finite numbers are not infinities or NaNs. */
-#if !HAVE_FINITE && !defined (finite)
+#if !HAVE_FINITE && !defined finite
 #define finite(X) (!isinf (X) && !isnan (X))
 #elif HAVE_IEEEFP_H
 #include <ieeefp.h>            /* Declares finite() under Solaris. */




reply via email to

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