gss: Too many compilers don't support 'restrict'
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Nicolas Williams
					Nicolas Williams