diff --git a/samples/rm_amqp/rm_mtom_1_0/rm_mtom_1_0.c b/samples/rm_amqp/rm_mtom_1_0/rm_mtom_1_0.c
index f94344e..5b9a93f 100644
--- a/samples/rm_amqp/rm_mtom_1_0/rm_mtom_1_0.c
+++ b/samples/rm_amqp/rm_mtom_1_0/rm_mtom_1_0.c
@@ -59,8 +59,6 @@
     axis2_char_t *offered_seq_id = NULL;
     neethi_policy_t *policy = NULL;
     axis2_status_t status = AXIS2_FAILURE;  
-    extern char *optarg;
-    extern int optopt;
  
     /* Set up the environment */
     env = axutil_env_create_all("rm_mtom_1_0_amqp.log", AXIS2_LOG_LEVEL_TRACE);