Rework moments routines for improved numerical stability based on
[pspp-builds.git] / src / output.h
index 98f8d4f122368d82828c99f8d703f2051f460a1b..bcd093284fdf72538f5cb96c7d28bc2cb61b407d 100644 (file)
@@ -29,31 +29,6 @@ struct rect
     int x2, y2;                        /* Lower right, not part of the rectangle. */
   };
 
-#if 0
-#if __GNUC__ > 1 && defined(__OPTIMIZE__)
-extern inline int width (rect r) __attribute__ ((const));
-extern inline int height (rect r) __attribute__ ((const));
-
-extern inline int
-width (rect r)
-{
-  return r.x2 - r.x1 + 1;
-}
-
-extern inline int 
-height (rect r)
-{
-  return r.y2 - r.y1 + 1;
-}
-#else /* !__GNUC__ */
-/* Be carefull of these ... they use the argument more than once. */
-#define width(R)                               \
-       ((R).x2 - (R).x1 + 1)
-#define height(R)                              \
-       ((R).y2 - (R).y1 + 1)
-#endif /* !__GNUC__ */
-#endif
-
 /* Color descriptor. */
 struct color
   {