Fix const-ness of a function parameter
authorDodji Seketeli <dodji@redhat.com>
Wed, 14 Oct 2015 18:44:18 +0000 (20:44 +0200)
committerDodji Seketeli <dodji@redhat.com>
Thu, 15 Oct 2015 11:50:48 +0000 (13:50 +0200)
* include/abg-fwd.h (is_function_decl): Add a const to the
parameter to make it comply with the definition in abg-ir.cc.
Woops.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
include/abg-fwd.h

index a149fe6..a6b02bc 100644 (file)
@@ -174,7 +174,7 @@ bool
 is_template_parameter(const shared_ptr<decl_base>);
 
 function_decl*
-is_function_decl(decl_base*);
+is_function_decl(const decl_base*);
 
 shared_ptr<function_decl>
 is_function_decl(shared_ptr<decl_base>);