Browse Source

doc/chapters/api.texi: fix prototype

Nathalie Furmento 12 years ago
parent
commit
9c90d424dc
1 changed files with 4 additions and 4 deletions
  1. 4 4
      doc/chapters/api.texi

+ 4 - 4
doc/chapters/api.texi

@@ -3762,7 +3762,7 @@ Return the number of workers managed by the specified contexts
 Return the number of workers shared by two contexts
 @end deftypefun
 
-@deftypefun void starpu_sched_ctx_set_min_priority (unsigned @var{sched_ctx_id}, int @var{min_prio})
+@deftypefun int starpu_sched_ctx_set_min_priority (unsigned @var{sched_ctx_id}, int @var{min_prio})
 Defines the minimum task priority level supported by the scheduling
 policy of the given scheduler context. The
 default minimum priority level is the same as the default priority level which
@@ -3772,7 +3772,7 @@ called from the initialization method of the scheduling policy, and should not
 be used directly from the application.
 @end deftypefun
 
-@deftypefun void starpu_sched_ctx_set_max_priority (unsigned @var{sched_ctx_id}, int @var{max_prio})
+@deftypefun int starpu_sched_ctx_set_max_priority (unsigned @var{sched_ctx_id}, int @var{max_prio})
 Defines the maximum priority level supported by the scheduling policy of the given scheduler context. The
 default maximum priority level is 1.  The application may access that value by
 calling the @code{starpu_sched_ctx_get_max_priority} function. This function should
@@ -3869,7 +3869,7 @@ It is memorize through a local structure. This function assigns it to a scheduli
 Returns the policy data previously assigned to a context
 @end deftypefun
 
-@deftypefun void starpu_sched_set_min_priority (int @var{min_prio})
+@deftypefun int starpu_sched_set_min_priority (int @var{min_prio})
 Defines the minimum task priority level supported by the scheduling policy. The
 default minimum priority level is the same as the default priority level which
 is 0 by convention.  The application may access that value by calling the
@@ -3878,7 +3878,7 @@ called from the initialization method of the scheduling policy, and should not
 be used directly from the application.
 @end deftypefun
 
-@deftypefun void starpu_sched_set_max_priority (int @var{max_prio})
+@deftypefun int starpu_sched_set_max_priority (int @var{max_prio})
 Defines the maximum priority level supported by the scheduling policy. The
 default maximum priority level is 1.  The application may access that value by
 calling the @code{starpu_sched_get_max_priority} function. This function should