Patch from Secure Endpoints/Asanka Herath for windows support
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
* @ingroup krb5
|
||||
*/
|
||||
|
||||
krb5_error_code KRB5_LIB_FUNCTION
|
||||
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
|
||||
krb5_set_real_time (krb5_context context,
|
||||
krb5_timestamp sec,
|
||||
int32_t usec)
|
||||
@@ -79,7 +79,7 @@ krb5_set_real_time (krb5_context context,
|
||||
* return ``corrected'' time in `timeret'.
|
||||
*/
|
||||
|
||||
krb5_error_code KRB5_LIB_FUNCTION
|
||||
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
|
||||
krb5_timeofday (krb5_context context,
|
||||
krb5_timestamp *timeret)
|
||||
{
|
||||
@@ -91,7 +91,7 @@ krb5_timeofday (krb5_context context,
|
||||
* like gettimeofday but with time correction to the KDC
|
||||
*/
|
||||
|
||||
krb5_error_code KRB5_LIB_FUNCTION
|
||||
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
|
||||
krb5_us_timeofday (krb5_context context,
|
||||
krb5_timestamp *sec,
|
||||
int32_t *usec)
|
||||
@@ -105,7 +105,7 @@ krb5_us_timeofday (krb5_context context,
|
||||
return 0;
|
||||
}
|
||||
|
||||
krb5_error_code KRB5_LIB_FUNCTION
|
||||
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
|
||||
krb5_format_time(krb5_context context, time_t t,
|
||||
char *s, size_t len, krb5_boolean include_time)
|
||||
{
|
||||
@@ -120,7 +120,7 @@ krb5_format_time(krb5_context context, time_t t,
|
||||
return 0;
|
||||
}
|
||||
|
||||
krb5_error_code KRB5_LIB_FUNCTION
|
||||
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
|
||||
krb5_string_to_deltat(const char *string, krb5_deltat *deltat)
|
||||
{
|
||||
if((*deltat = parse_time(string, "s")) == -1)
|
||||
|
Reference in New Issue
Block a user