clients: simple-shm: remove unused libraries and headers
authorTiago Vignatti <tiago.vignatti@intel.com>
Thu, 21 Jul 2011 13:35:39 +0000 (16:35 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 21 Jul 2011 15:42:58 +0000 (08:42 -0700)
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
clients/Makefile.am
clients/simple-shm.c

index ec173f0..fa99be6 100644 (file)
@@ -59,7 +59,7 @@ simple_client_SOURCES = simple-client.c
 simple_client_LDADD = $(SIMPLE_CLIENT_LIBS) -lm
 
 simple_shm_SOURCES = simple-shm.c
-simple_shm_LDADD = $(CLIENT_LIBS) -lrt -lm
+simple_shm_LDADD = $(SIMPLE_CLIENT_LIBS)
 
 eventdemo_SOURCES = eventdemo.c
 eventdemo_LDADD = $(toolkit_libs)
index 56742fa..9e8a978 100644 (file)
@@ -25,9 +25,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdbool.h>
-#include <math.h>
 #include <assert.h>
-#include <fcntl.h>
 #include <unistd.h>
 #include <sys/mman.h>