summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2021-08-01 16:38:48 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2021-08-01 16:38:48 -0700
commit09e50de77da82430cbada93cf58544af2441fd83 (patch)
tree54a9bb29c773c641214168bb5d35b99fa373f89c
parent7517441ffa1aecb6f565217149762267d145e11e (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.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Eyes.c b/Eyes.c
index 3452635..aa54b1c 100644
--- a/Eyes.c
+++ b/Eyes.c
@@ -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)