Patch from Secure Endpoints/Asanka Herath for windows support
This commit is contained in:
		| @@ -115,7 +115,7 @@ find_value(const char *s, struct s2i *table) | ||||
|     return table->val; | ||||
| } | ||||
|  | ||||
| krb5_error_code KRB5_LIB_FUNCTION | ||||
| KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL | ||||
| krb5_initlog(krb5_context context, | ||||
| 	     const char *program, | ||||
| 	     krb5_log_facility **fac) | ||||
| @@ -137,7 +137,7 @@ krb5_initlog(krb5_context context, | ||||
|     return 0; | ||||
| } | ||||
|  | ||||
| krb5_error_code KRB5_LIB_FUNCTION | ||||
| KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL | ||||
| krb5_addlog_func(krb5_context context, | ||||
| 		 krb5_log_facility *fac, | ||||
| 		 int min, | ||||
| @@ -270,7 +270,7 @@ open_file(krb5_context context, krb5_log_facility *fac, int min, int max, | ||||
|  | ||||
|  | ||||
|  | ||||
| krb5_error_code KRB5_LIB_FUNCTION | ||||
| KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL | ||||
| krb5_addlog_dest(krb5_context context, krb5_log_facility *f, const char *orig) | ||||
| { | ||||
|     krb5_error_code ret = 0; | ||||
| @@ -361,7 +361,7 @@ krb5_addlog_dest(krb5_context context, krb5_log_facility *f, const char *orig) | ||||
| } | ||||
|  | ||||
|  | ||||
| krb5_error_code KRB5_LIB_FUNCTION | ||||
| KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL | ||||
| krb5_openlog(krb5_context context, | ||||
| 	     const char *program, | ||||
| 	     krb5_log_facility **fac) | ||||
| @@ -385,7 +385,7 @@ krb5_openlog(krb5_context context, | ||||
|     return ret; | ||||
| } | ||||
|  | ||||
| krb5_error_code KRB5_LIB_FUNCTION | ||||
| KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL | ||||
| krb5_closelog(krb5_context context, | ||||
| 	      krb5_log_facility *fac) | ||||
| { | ||||
| @@ -404,7 +404,7 @@ krb5_closelog(krb5_context context, | ||||
| #undef __attribute__ | ||||
| #define __attribute__(X) | ||||
|  | ||||
| krb5_error_code KRB5_LIB_FUNCTION | ||||
| KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL | ||||
| krb5_vlog_msg(krb5_context context, | ||||
| 	      krb5_log_facility *fac, | ||||
| 	      char **reply, | ||||
| @@ -443,7 +443,7 @@ krb5_vlog_msg(krb5_context context, | ||||
|     return 0; | ||||
| } | ||||
|  | ||||
| krb5_error_code KRB5_LIB_FUNCTION | ||||
| KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL | ||||
| krb5_vlog(krb5_context context, | ||||
| 	  krb5_log_facility *fac, | ||||
| 	  int level, | ||||
| @@ -454,7 +454,7 @@ krb5_vlog(krb5_context context, | ||||
|     return krb5_vlog_msg(context, fac, NULL, level, fmt, ap); | ||||
| } | ||||
|  | ||||
| krb5_error_code KRB5_LIB_FUNCTION | ||||
| KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL | ||||
| krb5_log_msg(krb5_context context, | ||||
| 	     krb5_log_facility *fac, | ||||
| 	     int level, | ||||
| @@ -473,7 +473,7 @@ krb5_log_msg(krb5_context context, | ||||
| } | ||||
|  | ||||
|  | ||||
| krb5_error_code KRB5_LIB_FUNCTION | ||||
| KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL | ||||
| krb5_log(krb5_context context, | ||||
| 	 krb5_log_facility *fac, | ||||
| 	 int level, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hornquist Astrand
					Love Hornquist Astrand