X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput.h;h=bcd093284fdf72538f5cb96c7d28bc2cb61b407d;hb=97d6c6f6b1922621ca013668eba9a9a9f71d60fe;hp=98f8d4f122368d82828c99f8d703f2051f460a1b;hpb=722d896a394329ad9da31575439e1a082161fa6b;p=pspp diff --git a/src/output.h b/src/output.h index 98f8d4f122..bcd093284f 100644 --- a/src/output.h +++ b/src/output.h @@ -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 {