diff --git a/programs/cmp_tool.c b/programs/cmp_tool.c
index b7512eba7c4974b3a78218bc9038e1932ed88133..0c8df20d866cee0bb910353a2e84c1b0a010fe93 100644
--- a/programs/cmp_tool.c
+++ b/programs/cmp_tool.c
@@ -733,9 +733,10 @@ static int cmp_gernate_rdcu_info(const struct cmp_cfg *cfg, int cmp_size_bit,
 
 
 /**
- * retrun a current PLATO timestamp
+ * return a current PLATO timestamp
  */
-uint64_t return_timestamp(void)
+
+static uint64_t return_timestamp(void)
 {
 	return cmp_ent_create_timestamp(NULL);
 }