From 1cc1884587bd156fb210c2a049ae12b763a2a9e1 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sat, 17 Feb 2007 12:07:16 +0000 Subject: add gcc attributes to some functions and parameters git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@250 ef36b2f9-881f-0410-afb5-c4e39611909c --- nslcd/common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nslcd/common.h') diff --git a/nslcd/common.h b/nslcd/common.h index 8c53cdd..2a14e30 100644 --- a/nslcd/common.h +++ b/nslcd/common.h @@ -26,13 +26,15 @@ #include "nslcd.h" #include "nslcd-common.h" +#include "compat/attrs.h" /* translates a nss code (as defined in nss.h) to a nslcd return code (as defined in nslcd.h) */ /* FIXME: this is a temporary hack, get rid of it */ #include -int nss2nslcd(enum nss_status code); +int nss2nslcd(enum nss_status code) + PURE MUST_USE; /* macros for basic read and write operations, the following -- cgit v1.2.3