From: Pekka Riikonen Date: Fri, 29 Dec 2006 21:19:18 +0000 (+0000) Subject: Symbian compilation fixes. X-Git-Tag: silc.client.1.1.beta1~83 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=e4cf49012efbcc14d8f61f3c33aca73dbab55fdf Symbian compilation fixes. --- diff --git a/lib/silcasn1/silcasn1_decode.c b/lib/silcasn1/silcasn1_decode.c index efb1534f..fd162c7a 100644 --- a/lib/silcasn1/silcasn1_decode.c +++ b/lib/silcasn1/silcasn1_decode.c @@ -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; } diff --git a/lib/silcasn1/silcasn1_encode.c b/lib/silcasn1/silcasn1_encode.c index d4b7077a..0245185f 100644 --- a/lib/silcasn1/silcasn1_encode.c +++ b/lib/silcasn1/silcasn1_encode.c @@ -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; } diff --git a/lib/silcmath/tma.h b/lib/silcmath/tma.h index 02e370ab..99741ebe 100644 --- a/lib/silcmath/tma.h +++ b/lib/silcmath/tma.h @@ -15,13 +15,14 @@ #ifndef TMA_H #define TMA_H +#include #include #include #include #include #include -#include +#include "tma_class.h" /* Assure these -Pekka */ #undef MP_8BIT diff --git a/lib/silcmath/tma_class.h b/lib/silcmath/tma_class.h index 649cb185..164d2cf6 100644 --- a/lib/silcmath/tma_class.h +++ b/lib/silcmath/tma_class.h @@ -987,8 +987,8 @@ #ifdef LTM3 #define LTM_LAST #endif -#include -#include +#include "tma_superclass.h" +#include "tma_class.h" #else #define LTM_LAST #endif