summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2007-08-27 23:42:35 +0000
committerKen Raeburn <raeburn@mit.edu>2007-08-27 23:42:35 +0000
commit216cd65fe83dd6a9460aefb9156e98eecbe665fb (patch)
tree619f411b48eae60241ff10902b149c805cced4d8 /src/include
parentfe537438e1448af8020a1edcfe954e338acf4332 (diff)
downloadkrb5-216cd65fe83dd6a9460aefb9156e98eecbe665fb.tar.gz
krb5-216cd65fe83dd6a9460aefb9156e98eecbe665fb.tar.xz
krb5-216cd65fe83dd6a9460aefb9156e98eecbe665fb.zip
For gcc 4.x, add sentinel attribute to krb5_build_principal
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19888 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/krb5.hin6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index c7327df8d..e3e2c04e1 100644
--- a/src/include/krb5/krb5.hin
+++ b/src/include/krb5/krb5.hin
@@ -1558,7 +1558,11 @@ krb5_error_code KRB5_CALLCONV krb5_get_server_rcache
krb5_error_code KRB5_CALLCONV_C krb5_build_principal_ext
(krb5_context, krb5_principal *, unsigned int, const char *, ...);
krb5_error_code KRB5_CALLCONV_C krb5_build_principal
- (krb5_context, krb5_principal *, unsigned int, const char *, ...);
+ (krb5_context, krb5_principal *, unsigned int, const char *, ...)
+#if __GNUC__ >= 4
+ __attribute__ ((sentinel))
+#endif
+ ;
krb5_error_code KRB5_CALLCONV krb5_build_principal_va
(krb5_context,
krb5_principal, unsigned int, const char *, va_list);