mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 01:10:33 +01:00
ifnet: make testcases happy
ifnet_plugin_get_conf_file() needs to be defined for the testcases.
This commit is contained in:
parent
1d0c27590e
commit
80852aa96a
1 changed files with 10 additions and 0 deletions
|
|
@ -33,6 +33,16 @@
|
|||
#include "wpa_parser.h"
|
||||
#include "connection_parser.h"
|
||||
|
||||
/* Fake config file function to make the linker happy */
|
||||
const char *ifnet_plugin_get_conf_file (void);
|
||||
|
||||
const char *
|
||||
ifnet_plugin_get_conf_file (void)
|
||||
{
|
||||
return "/etc/foo/barasdfasdfasdfasdf";
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
test_getdata ()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue