aboutsummaryrefslogtreecommitdiffstats
path: root/jnlib/types.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-08-25 20:19:37 +0000
committerWerner Koch <[email protected]>2009-08-25 20:19:37 +0000
commit24e5a68f9e8e4bfdf10b4e5262b2a5fac2712291 (patch)
treee86141da64b2bb527414806acd0616f5d09d42e5 /jnlib/types.h
parent* gpg.text: Suggested new ordering for --edit-key. (diff)
downloadgnupg-24e5a68f9e8e4bfdf10b4e5262b2a5fac2712291.tar.gz
gnupg-24e5a68f9e8e4bfdf10b4e5262b2a5fac2712291.zip
New fucntions strconcat and xstrconcat.
Diffstat (limited to 'jnlib/types.h')
-rw-r--r--jnlib/types.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/jnlib/types.h b/jnlib/types.h
index 3f64ba58d..62fa0470d 100644
--- a/jnlib/types.h
+++ b/jnlib/types.h
@@ -99,4 +99,16 @@
# endif
#endif
+
+/* Some GCC attributes. Note that we use also define some in
+ mischelp.h, but this header and types.h are not always included.
+ Should eventually be put into one file (e.g. nlib-common.h). */
+#if __GNUC__ >= 4
+# define GNUPG_GCC_A_SENTINEL(a) __attribute__ ((sentinel(a)))
+#else
+# define GNUPG_GCC_A_SENTINEL(a)
+#endif
+
+
+
#endif /*LIBJNLIB_TYPES_H*/