X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fdefs.h;h=df4b6441b9903a27be14117e30ca182e6ddbb223;hb=4efb68b1ad0f40fa002c954c213a516d1e39cfb3;hp=c72a539e8457edc2a5432ab75fba5fa166abd565;hpb=88e90c405f7b96dc90b19bde321f219e129e7e1c;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/defs.h b/gdb/defs.h index c72a539e84..df4b6441b9 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -245,8 +245,8 @@ enum auto_boolean struct cleanup { struct cleanup *next; - void (*function) (PTR); - PTR arg; + void (*function) (void *); + void *arg; }; @@ -967,7 +967,7 @@ extern int catch_exceptions (struct ui_out *uiout, This function is superseeded by catch_exceptions(). */ -typedef int (catch_errors_ftype) (PTR); +typedef int (catch_errors_ftype) (void *); extern int catch_errors (catch_errors_ftype *, void *, char *, return_mask); /* Template to catch_errors() that wraps calls to command