Fixed style problems in aop.h.
authorJustin Seyster <jseyster@cs.sunysb.edu>
Fri, 18 Jun 2010 01:10:38 +0000 (21:10 -0400)
committerJustin Seyster <jseyster@cs.sunysb.edu>
Fri, 18 Jun 2010 01:10:38 +0000 (21:10 -0400)
src/aop.h

index 150182de3813ec045fc37436ddf2589313ed6230..8bc0b09463f19992180cc494902e80a6cb8cf8d5 100644 (file)
--- a/src/aop.h
+++ b/src/aop.h
@@ -55,20 +55,16 @@ struct aop_type;
 typedef unsigned int (*pass_callback) ();
 typedef void (*join_callback) (struct aop_joinpoint *, void *callback_param);
 
-extern struct aop_pointcut *aop_match_assignment_by_type (
-  const struct aop_type *type);
-
 extern void aop_filter_include_temps (struct aop_pointcut *pc);
 extern void aop_filter_exclude_temps (struct aop_pointcut *pc);
 
-extern const char *aop_capture_lhs_name (struct aop_joinpoint *jp);
-
 enum aop_insert_location {
   AOP_INSERT_BEFORE,
   AOP_INSERT_AFTER
 };
 
-extern void aop_insert_advice (struct aop_joinpoint *jp, const char *name,enum  aop_insert_location location, ...);
+extern void aop_insert_advice (struct aop_joinpoint *jp, const char *name,
+                              enum aop_insert_location location, ...);
 
 extern const struct aop_type *aop_t_all_signed ();
 extern const struct aop_type *aop_t_all_unsigned ();
@@ -95,26 +91,30 @@ enum aop_argkind {
 #define AOP_STR_CST(VAL) ATA_STR_CST, VAL
 #define AOP_DYNVAL(VAL) ATA_DYNVAL, VAL
 
-const char *aop_capture_function_name (struct aop_joinpoint *jp);
-struct aop_dynval *aop_capture_lhs_addr (struct aop_joinpoint *jp);
-struct aop_dynval *aop_capture_assigned_value (struct aop_joinpoint *jp);
-struct aop_pointcut *aop_match_function_entry ();
-struct aop_pointcut *aop_match_function_exit ();
-struct aop_pointcut *aop_match_function_call ();
+extern const char *aop_capture_function_name (struct aop_joinpoint *jp);
 
-void aop_filter_function_entry_pointcut(struct aop_pointcut *pc_function_entry,
-                                       const char *advice_function_entry);
+extern struct aop_pointcut *aop_match_function_entry ();
+extern struct aop_pointcut *aop_match_function_exit ();
 
-void aop_filter_function_call_pointcut(struct aop_pointcut *pc_function_call,
-                                       const char *advice_function_call);
+extern void aop_filter_function_entry_pointcut(
+  struct aop_pointcut *pc_function_entry, const char *advice_function_entry);
 
-void aop_filter_function_call_pointcut_by_param_index(struct aop_pointcut *pc,
-                                                     int param_index);  
+extern struct aop_pointcut *aop_match_function_call ();
 
-struct aop_dynval *
-aop_capture_return_value (struct aop_joinpoint *jp);
+extern void aop_filter_function_call_pointcut(
+  struct aop_pointcut *pc_function_call, const char *advice_function_call);
+extern void aop_filter_function_call_pointcut_by_param_index(
+  struct aop_pointcut *pc, int param_index);
 
-struct aop_dynval *
-aop_capture_param (struct aop_joinpoint *jp, int param_index);
+extern struct aop_dynval *aop_capture_return_value (struct aop_joinpoint *jp);
+extern struct aop_dynval *aop_capture_param (struct aop_joinpoint *jp,
+                                            int param_index);
+
+extern struct aop_pointcut *aop_match_assignment_by_type (
+  const struct aop_type *type);
+
+extern struct aop_dynval *aop_capture_lhs_addr (struct aop_joinpoint *jp);
+extern const char *aop_capture_lhs_name (struct aop_joinpoint *jp);
+extern struct aop_dynval *aop_capture_assigned_value (struct aop_joinpoint *jp);
 
 #endif