From 1a86dc913fc1a91a3d7d6f911944ae6e1cd8aa99 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Mon, 7 Sep 2009 18:59:03 +0000 Subject: [PATCH] * lib/sgroupio.h: Harmonize splint annotations of sgr_locate() prototype with the one used in its definition. --- ChangeLog | 5 +++++ lib/sgroupio.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1bde071e..57e7e56f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-09-07 Nicolas François + + * lib/sgroupio.h: Harmonize splint annotations of sgr_locate() + prototype with the one used in its definition. + 2009-09-07 Steve Grubb * libmisc/copydir.c, lib/shadowmem.c, lib/groupmem.c, lib/pwmem.c: diff --git a/lib/sgroupio.h b/lib/sgroupio.h index 47f01396..163243a4 100644 --- a/lib/sgroupio.h +++ b/lib/sgroupio.h @@ -37,7 +37,7 @@ extern int sgr_close (void); extern bool sgr_file_present (void); -extern /*@null@*/const struct sgrp *sgr_locate (const char *name); +extern /*@observer@*/ /*@null@*/const struct sgrp *sgr_locate (const char *name); extern int sgr_lock (void); extern int sgr_setdbname (const char *filename); extern /*@observer@*/const char *sgr_dbname (void); -- 2.40.0