Changeset: c5d4368417f5 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c5d4368417f5
Modified Files:
        gdk/gdk_aggr.c
Branch: Oct2014
Log Message:

Add restrict keyword also to formal parameter.


diffs (29 lines):

diff --git a/gdk/gdk_aggr.c b/gdk/gdk_aggr.c
--- a/gdk/gdk_aggr.c
+++ b/gdk/gdk_aggr.c
@@ -1871,7 +1871,12 @@ BATgroupsize(BAT *b, BAT *g, BAT *e, BAT
        } while (0)
 
 static BAT *
-BATgroupminmax(BAT *b, BAT *g, BAT *e, BAT *s, int tp, int skip_nils, int 
abort_on_error, BUN (*minmax)(oid *, BAT *, const oid *, BUN, oid, oid, BUN, 
BUN, const oid *, const oid *, BUN, int, int), const char *name)
+BATgroupminmax(BAT *b, BAT *g, BAT *e, BAT *s, int tp, int skip_nils,
+              int abort_on_error, 
+              BUN (*minmax)(oid *restrict, BAT *, const oid *restrict, BUN,
+                            oid, oid, BUN, BUN, const oid *restrict,
+                            const oid *, BUN, int, int),
+              const char *name)
 {
        const oid *restrict gids;
        oid min, max;
@@ -1933,8 +1938,9 @@ BATgroupminmax(BAT *b, BAT *g, BAT *e, B
 
 static void *
 BATminmax(BAT *b, void *aggr,
-         BUN (*minmax)(oid *, BAT *, const oid *, BUN, oid, oid, BUN, BUN,
-                       const oid *, const oid *, BUN, int, int))
+         BUN (*minmax)(oid *restrict, BAT *, const oid *restrict, BUN,
+                       oid, oid, BUN, BUN, const oid *restrict,
+                       const oid *, BUN, int, int))
 {
        oid pos;
        void *res;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to