freebsd_iflib: Fixes to avoid implicit-function-declaration errors.
No functional change intended.
This commit is contained in:
@@ -4529,7 +4529,11 @@ iflib_if_qflush(if_t ifp)
|
|||||||
* When ALTQ is enabled, this will also take care of purging the
|
* When ALTQ is enabled, this will also take care of purging the
|
||||||
* ALTQ queue(s).
|
* ALTQ queue(s).
|
||||||
*/
|
*/
|
||||||
|
#ifdef __HAIKU__
|
||||||
|
ifp->if_qflush(ifp);
|
||||||
|
#else
|
||||||
if_qflush(ifp);
|
if_qflush(ifp);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#define IFCAP_FLAGS (IFCAP_HWCSUM_IPV6 | IFCAP_HWCSUM | IFCAP_LRO | \
|
#define IFCAP_FLAGS (IFCAP_HWCSUM_IPV6 | IFCAP_HWCSUM | IFCAP_LRO | \
|
||||||
|
|||||||
@@ -1463,16 +1463,6 @@ nvlist_add_nvpair(nvlist_t *nvl, const nvpair_t *nvp)
|
|||||||
nvlist_update_size(nvl, newnvp, 1);
|
nvlist_update_size(nvl, newnvp, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
nvlist_add_stringf(nvlist_t *nvl, const char *name, const char *valuefmt, ...)
|
|
||||||
{
|
|
||||||
va_list valueap;
|
|
||||||
|
|
||||||
va_start(valueap, valuefmt);
|
|
||||||
nvlist_add_stringv(nvl, name, valuefmt, valueap);
|
|
||||||
va_end(valueap);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
nvlist_add_stringv(nvlist_t *nvl, const char *name, const char *valuefmt,
|
nvlist_add_stringv(nvlist_t *nvl, const char *name, const char *valuefmt,
|
||||||
va_list valueap)
|
va_list valueap)
|
||||||
@@ -1493,6 +1483,16 @@ nvlist_add_stringv(nvlist_t *nvl, const char *name, const char *valuefmt,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
nvlist_add_stringf(nvlist_t *nvl, const char *name, const char *valuefmt, ...)
|
||||||
|
{
|
||||||
|
va_list valueap;
|
||||||
|
|
||||||
|
va_start(valueap, valuefmt);
|
||||||
|
nvlist_add_stringv(nvl, name, valuefmt, valueap);
|
||||||
|
va_end(valueap);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
nvlist_add_null(nvlist_t *nvl, const char *name)
|
nvlist_add_null(nvlist_t *nvl, const char *name)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user