code structure
[m6w6/ext-psi] / m4 / psi.m4
index c9f4e080df6c0381680e18e623e896d22501daea..97ea6fec13115ef0391aa843b56904a8b3835bfd 100644 (file)
--- a/m4/psi.m4
+++ b/m4/psi.m4
@@ -16,7 +16,7 @@ dnl This macro must be called prior any checks for a type, struct, decl etc.
 AC_DEFUN(PSI_CONFIG_INIT, [
        cat >$PSI_STDTYPES <<EOF
 /* generated by configure */
-static struct psi_predef_type {
+static struct psi_std_type {
        token_t type_tag;
        const char *type_name;
        const char *alias;
@@ -32,7 +32,11 @@ static struct psi_predef_type {
 EOF
        cat >$PSI_TYPES <<EOF
 /* generated by configure */
-static struct psi_predef_type psi_predef_types@<:@@:>@ = {
+static struct psi_predef_type {
+       token_t type_tag;
+       const char *type_name;
+       const char *alias;
+} psi_predef_types@<:@@:>@ = {
 EOF
        cat >$PSI_STRUCTS <<EOF
 /* generated by configure */