mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-20 14:29:55 +02:00
libj1939: mark functions as static
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
+2
-2
@@ -46,7 +46,7 @@ static inline void fetch_names(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* retrieve name */
|
/* retrieve name */
|
||||||
const char *libj1939_ifnam(int ifindex)
|
static const char *libj1939_ifnam(int ifindex)
|
||||||
{
|
{
|
||||||
const struct if_nameindex *lp, *cached = saved;
|
const struct if_nameindex *lp, *cached = saved;
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ const char *libj1939_ifnam(int ifindex)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* retrieve index */
|
/* retrieve index */
|
||||||
int libj1939_ifindex(const char *str)
|
static int libj1939_ifindex(const char *str)
|
||||||
{
|
{
|
||||||
const struct if_nameindex *lp, *cached = saved;
|
const struct if_nameindex *lp, *cached = saved;
|
||||||
char *endp;
|
char *endp;
|
||||||
|
|||||||
Reference in New Issue
Block a user