#include /* for type apr_status_t */ #include /* for func apr_pool_create */ #include /* for type apr_hash_t, func apr_hash_make */ apr_status_t mystatus; /* is really an int */ apr_pool_t mypool; /* is really a struct */ mystatus = apr_pool_create(** mypool, NULL); /* NULL = no parent pool */ printf("apr_pool_create returned [%d]\n", mystatus); /* printf("mypool = [%???]\n", mypool); */ apr_hash_t myhash; /* is really a struct */ myhash* = apr_hash_make(* mypool); ------------------ apr-hash.c:14: warning: data definition has no type or storage class apr-hash.c:14: warning: type defaults to ‘int’ in declaration of ‘mystatus’ apr-hash.c:14: error: invalid type argument of ‘unary *’ apr-hash.c:14: error: initializer element is not constant apr-hash.c:15: error: expected declaration specifiers or ‘...’ before string constant apr-hash.c:15: error: expected declaration specifiers or ‘...’ before ‘mystatus’ apr-hash.c:15: warning: data definition has no type or storage class apr-hash.c:15: warning: type defaults to ‘int’ in declaration of ‘printf’ apr-hash.c:15: warning: conflicting types for built-in function ‘printf’ apr-hash.c:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token