Symbian compilation fixes.
authorPekka Riikonen <priikone@silcnet.org>
Fri, 29 Dec 2006 21:19:18 +0000 (21:19 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Fri, 29 Dec 2006 21:19:18 +0000 (21:19 +0000)
lib/silcasn1/silcasn1_decode.c
lib/silcasn1/silcasn1_encode.c
lib/silcmath/tma.h
lib/silcmath/tma_class.h

index efb1534f63e4afb5d7bcb997abaa747942da9dd5..fd162c7a5440f7a2a87b445d922278b577549a3d 100644 (file)
@@ -845,7 +845,6 @@ SilcBool silc_asn1_decode(SilcAsn1 asn1, SilcBuffer src, ...)
   SILC_ASN1_ARGS(asn1, type, tag, ber_class, opts);
   if (!type) {
     va_end(asn1->ap);
-    asn1->ap = NULL;
     return FALSE;
   }
 
@@ -918,7 +917,6 @@ SilcBool silc_asn1_decode(SilcAsn1 asn1, SilcBuffer src, ...)
   }
 
   va_end(asn1->ap);
-  asn1->ap = NULL;
 
   return ret;
 }
index d4b7077a25407e439843f8919ec54df48cfb49e1..0245185fc00686e7c2b81ec4d9a1c794af796f17 100644 (file)
@@ -686,7 +686,6 @@ SilcBool silc_asn1_encode(SilcAsn1 asn1, SilcBuffer dest, ...)
   SILC_ASN1_ARGS(asn1, type, tag, ber_class, opts);
   if (!type) {
     va_end(asn1->ap);
-    asn1->ap = NULL;
     return FALSE;
   }
 
@@ -741,7 +740,6 @@ SilcBool silc_asn1_encode(SilcAsn1 asn1, SilcBuffer dest, ...)
     asn1->stack1 = stack1;
 
   va_end(asn1->ap);
-  asn1->ap = NULL;
 
   return ret;
 }
index 02e370ab3fae802de458cbb9e92696a320d5b20b..99741ebeb351a2b512cc69eda45818894014e0f1 100644 (file)
 #ifndef TMA_H
 #define TMA_H
 
+#include <stddef.h>
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
 #include <ctype.h>
 #include <limits.h>
 
-#include <tma_class.h>
+#include "tma_class.h"
 
 /* Assure these -Pekka */
 #undef MP_8BIT
index 649cb1850f17db7b1ad8cd01f07c1556102bac68..164d2cf6293333d8abba81fc5bf796cc4bcc926b 100644 (file)
 #ifdef LTM3
 #define LTM_LAST
 #endif
-#include <tma_superclass.h>
-#include <tma_class.h>
+#include "tma_superclass.h"
+#include "tma_class.h"
 #else
 #define LTM_LAST
 #endif