gss: Too many compilers don't support 'restrict'

This commit is contained in:
Nicolas Williams
2022-01-05 18:03:39 -06:00
parent 01b1916ec2
commit 2375fa9d1e
2 changed files with 5 additions and 5 deletions

View File

@@ -102,10 +102,10 @@ attr_eq(gss_buffer_t attr, const char *aname, size_t aname_len,
/* Split attribute into prefix, suffix, and fragment. See RFC6680. */
static void
split_attr(restrict gss_const_buffer_t orig,
restrict gss_buffer_t prefix,
restrict gss_buffer_t attr,
restrict gss_buffer_t frag,
split_attr(gss_const_buffer_t orig,
gss_buffer_t prefix,
gss_buffer_t attr,
gss_buffer_t frag,
int *is_urn)
{
char *last = NULL;

View File

@@ -160,7 +160,7 @@ pthreadinc= -I$(PTHREAD_INC)
# Build options
cincdirs=$(cincdirs) -I$(INCDIR) -I$(INCDIR)\krb5 $(pthreadinc)
cdefines=$(cdefines) -DHAVE_CONFIG_H -Drestrict=
cdefines=$(cdefines) -DHAVE_CONFIG_H
# Windows CNG provider
cdefines=$(cdefines) -DHCRYPTO_DEF_PROVIDER=w32crypto
cdebug=$(cdebug) /Zi