summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-11-15 23:04:10 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-11-19 00:07:13 -0800
commit235b6b1ac77b6f01a3cad60fe7e1b3cbc259879f (patch)
treee41515e6aba0843a4d925350e9723f3809f40b1a
parent699aa034b8368a4052aa0318d4bca74dd688a7c2 (diff)
Remove unneeded uses of <math.h> & -lm
Can't see why they were ever needed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--Makefile.am2
-rw-r--r--x2pmp.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index c96f863..8b75b07 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,7 +22,7 @@
bin_PROGRAMS = xpr
AM_CFLAGS = $(CWARNFLAGS) $(XPR_CFLAGS) -DNOINLINE
-xpr_LDADD = $(XPR_LIBS) -lm
+xpr_LDADD = $(XPR_LIBS)
xpr_SOURCES = \
lncmd.h \
diff --git a/x2pmp.c b/x2pmp.c
index ce1627b..4199d2f 100644
--- a/x2pmp.c
+++ b/x2pmp.c
@@ -6,7 +6,6 @@
* IBM 3812 PagePrinter.
*/
#include <stdio.h>
-#include <math.h>
#include <X11/Xlib.h>
#include <X11/XWDFile.h>
#include <X11/Xfuncs.h>