gcc (in some versions) doesn't like the const_des_cblock typedef.
So omit it for now :-(
This commit is contained in:
parent
3f45ed82dc
commit
27a186cd5d
@ -77,7 +77,12 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef unsigned char des_cblock[8];
|
typedef unsigned char des_cblock[8];
|
||||||
typedef const unsigned char const_des_cblock[8];
|
typedef /* const */ unsigned char const_des_cblock[8];
|
||||||
|
/* With "const", gcc 2.8.1 on Solaris thinks that des_cblock *
|
||||||
|
* and const_des_cblock * are incompatible pointer types.
|
||||||
|
* I haven't seen that warning on other systems ... I'll look
|
||||||
|
* what the standard says. */
|
||||||
|
|
||||||
|
|
||||||
typedef struct des_ks_struct
|
typedef struct des_ks_struct
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user