good for merge On Mon, 2009-04-06 at 18:53 +0200, Jim Meyering wrote: > > From b1ec74643b0d7cc0cd132b25398a574e70d4dc47 Mon Sep 17 00:00:00 2001 > From: Jim Meyering <[email protected]> > Date: Mon, 6 Apr 2009 18:52:20 +0200 > Subject: [PATCH] list.h (list_empty): Make param const. > > * include/corosync/list.h (list_empty): Make param const. > --- > include/corosync/list.h | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/corosync/list.h b/include/corosync/list.h > index cb75384..e9df38b 100644 > --- a/include/corosync/list.h > +++ b/include/corosync/list.h > @@ -6,7 +6,7 @@ > * Author: Steven Dake ([email protected]) > * > * This software licensed under BSD license, the text of which follows: > - * > + * > * Redistribution and use in source and binary forms, with or without > * modification, are permitted provided that the following conditions are > met: > * > @@ -79,7 +79,7 @@ static void inline list_del (struct list_head *remove) > #define list_entry(ptr,type,member)\ > ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) > > -static inline int list_empty(struct list_head *l) > +static inline int list_empty(const struct list_head *l) > { > return l->next == l; > }
_______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
