mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 05:47:45 +00:00
Get rid of u_* declarations for portability.
This commit is contained in:
parent
bb404b74d1
commit
a804d24e26
@ -326,16 +326,15 @@ int omapi_td_strcmp (omapi_typed_data_t *, const char *);
|
||||
isc_result_t omapi_make_value (omapi_value_t **, omapi_data_string_t *,
|
||||
omapi_typed_data_t *, const char *);
|
||||
isc_result_t omapi_make_const_value (omapi_value_t **, omapi_data_string_t *,
|
||||
const u_int8_t *, unsigned, const char *);
|
||||
const unsigned char *,
|
||||
unsigned, const char *);
|
||||
isc_result_t omapi_make_int_value (omapi_value_t **, omapi_data_string_t *,
|
||||
int, const char *);
|
||||
isc_result_t omapi_make_handle_value (omapi_value_t **, omapi_data_string_t *,
|
||||
omapi_object_t *, const char *);
|
||||
isc_result_t omapi_make_string_value (omapi_value_t **, omapi_data_string_t *,
|
||||
char *, const char *);
|
||||
isc_result_t omapi_get_int_value (u_int32_t *, omapi_typed_data_t *);
|
||||
|
||||
|
||||
isc_result_t omapi_get_int_value (unsigned long *, omapi_typed_data_t *);
|
||||
|
||||
isc_result_t omapi_object_handle (omapi_handle_t *, omapi_object_t *);
|
||||
isc_result_t omapi_handle_lookup (omapi_object_t **, omapi_handle_t);
|
||||
|
@ -550,7 +550,7 @@ isc_result_t omapi_make_value (omapi_value_t **vp, omapi_data_string_t *name,
|
||||
|
||||
isc_result_t omapi_make_const_value (omapi_value_t **vp,
|
||||
omapi_data_string_t *name,
|
||||
const u_int8_t *value,
|
||||
const unsigned char *value,
|
||||
unsigned len, const char *caller)
|
||||
{
|
||||
isc_result_t status;
|
||||
@ -663,7 +663,7 @@ isc_result_t omapi_make_string_value (omapi_value_t **vp,
|
||||
return ISC_R_SUCCESS;
|
||||
}
|
||||
|
||||
isc_result_t omapi_get_int_value (u_int32_t *v, omapi_typed_data_t *t)
|
||||
isc_result_t omapi_get_int_value (unsigned long *v, omapi_typed_data_t *t)
|
||||
{
|
||||
u_int32_t rv;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user