KRB5_CALLCONV must be specified inside parens
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 6 Aug 2007 15:11:03 +0000 (15:11 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 6 Aug 2007 15:11:03 +0000 (15:11 +0000)
When declaring a function pointer, the function type
modifiers must be inside the parentheses.

  return-type (modifers * function-name) (parameters)

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19754 dc483132-0cff-0310-8789-dd5450dbe970

src/include/k5-int.h

index d5a8d478950e77b1f60a5517a47a0a5921559434..39584476696d66dac962d77455d94af9ed956a81 100644 (file)
@@ -1969,7 +1969,7 @@ typedef struct _krb5int_access {
        (const krb5_data *output, krb5_kdc_req **rep);
     krb5_error_code (*encode_krb5_kdc_req_body)
        (const krb5_kdc_req *rep, krb5_data **code);
-    void KRB5_CALLCONV (*krb5_free_kdc_req)
+    void (KRB5_CALLCONV *krb5_free_kdc_req)
        (krb5_context, krb5_kdc_req * );
     void (*krb5int_set_prompt_types)
        (krb5_context, krb5_prompt_type *);