summaryrefslogtreecommitdiff
path: root/package/broadcom-wl/src/nvram
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-27 14:18:34 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-27 14:18:34 +0000
commit40efe09d28b970e3120d3e8a5c84b9181f17ca7e (patch)
tree65ceb306726b072583bf79767da21bf0852b273a /package/broadcom-wl/src/nvram
parentd7bc7f5ba2c154b8c5c4f7320cc207e3ebdc2bd6 (diff)
broadcom-wl: add nvram stub to fix nas compile after the switch to unvram
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15439 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-wl/src/nvram')
-rw-r--r--package/broadcom-wl/src/nvram/nvram_stub.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/broadcom-wl/src/nvram/nvram_stub.c b/package/broadcom-wl/src/nvram/nvram_stub.c
new file mode 100644
index 0000000000..7fdbf3406b
--- /dev/null
+++ b/package/broadcom-wl/src/nvram/nvram_stub.c
@@ -0,0 +1,16 @@
+#include <stdlib.h>
+
+int nvram_set(const char *name, const char *value)
+{
+ return -1;
+}
+
+char *nvram_get(const char *name)
+{
+ return NULL;
+}
+
+int nvram_unset(const char *name)
+{
+ return -1;
+}