Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/common.h
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-02-17 13:07:16 +0100
committerArthur de Jong <arthur@arthurdejong.org>2007-02-17 13:07:16 +0100
commit1cc1884587bd156fb210c2a049ae12b763a2a9e1 (patch)
treec4ccbf52096cd4d424879384c6cbaed739c3dc44 /nslcd/common.h
parentd352025fc0e8fea2f7f166b3c3f945d3aa16efa3 (diff)
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
Diffstat (limited to 'nslcd/common.h')
-rw-r--r--nslcd/common.h4
1 files changed, 3 insertions, 1 deletions
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 <nss.h>
-int nss2nslcd(enum nss_status code);
+int nss2nslcd(enum nss_status code)
+ PURE MUST_USE;
/* macros for basic read and write operations, the following