From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yang Xu Date: Wed, 23 Dec 2020 16:29:02 +0800 Subject: [LTP] [PATCH 2/3] lapi/sem.h: Add SEM_STAT_ANY In-Reply-To: <1608626908-8117-2-git-send-email-zhufy.jy@cn.fujitsu.com> References: <1608626908-8117-1-git-send-email-zhufy.jy@cn.fujitsu.com> <1608626908-8117-2-git-send-email-zhufy.jy@cn.fujitsu.com> Message-ID: <5FE2FFCE.2030500@cn.fujitsu.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Feiyu > Signed-off-by: Feiyu Zhu > --- > include/lapi/sem.h | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > create mode 100644 include/lapi/sem.h > > diff --git a/include/lapi/sem.h b/include/lapi/sem.h > new file mode 100644 > index 0000000..5d86a2f > --- /dev/null > +++ b/include/lapi/sem.h > @@ -0,0 +1,15 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > +/* > + * Copyright (c) 2020 FUJITSU LIMITED. All rights reserved. > + * Author: Feiyu Zhu > + */ > + I prefer to add #include in here, so we only need to include lapi/sem.h in subsequent semctl09.c Reviewed-by:Yang Xu > +#ifndef LAPI_SEM_H > +#define LAPI_SEM_H > + > +#ifndef SEM_STAT_ANY > +# define SEM_STAT_ANY 20 > +#endif > + > +#endif /* LAPI_SEM_H */ > +