diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2021-08-01 16:38:48 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2021-08-01 16:38:48 -0700 |
commit | 09e50de77da82430cbada93cf58544af2441fd83 (patch) | |
tree | 54a9bb29c773c641214168bb5d35b99fa373f89c | |
parent | 7517441ffa1aecb6f565217149762267d145e11e (diff) |
Remove redundant declaration of hypot() for SVR4 systems
Fixes gcc warning:
Eyes.c:54:15: warning: redundant redeclaration of ‘hypot’ [-Wredundant-decls]
extern double hypot(double, double);
^~~~~
since it's already declared in <math.h>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | Eyes.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -50,10 +50,6 @@ from the X Consortium. # include <stdlib.h> # include <X11/extensions/XInput2.h> -#if (defined(SVR4) || defined(SYSV) && defined(i386)) -extern double hypot(double, double); -#endif - #define offset(field) XtOffsetOf(EyesRec, eyes.field) #define goffset(field) XtOffsetOf(WidgetRec, core.field) |