From 228f8b3c3fb88ed65275d1649b7ef6797f74a3db Mon Sep 17 00:00:00 2001 From: OSQZSS Date: Fri, 19 Jun 2015 08:42:44 +0900 Subject: [PATCH] Adapted to GCC --- gpssim.c | 47 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/gpssim.c b/gpssim.c index 437bebe..53095bb 100644 --- a/gpssim.c +++ b/gpssim.c @@ -616,6 +616,22 @@ unsigned long computeChecksum(unsigned long source, int nib) return(D); } +int checkExpDesignator(char *str, int len) +{ + int i,n=0; + + for (i=0; i