aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl/src
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-04-27 14:18:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-04-27 14:18:34 +0000
commit7f8b55cec9fe602f3855531e2f2e4fce7c63e68f (patch)
treecbaf649258191715ad517b3216176d8a51b9a5c9 /package/broadcom-wl/src
parentd607443fdb25b45684481e5c0b4b79ac772c973c (diff)
downloadupstream-7f8b55cec9fe602f3855531e2f2e4fce7c63e68f.tar.gz
upstream-7f8b55cec9fe602f3855531e2f2e4fce7c63e68f.tar.bz2
upstream-7f8b55cec9fe602f3855531e2f2e4fce7c63e68f.zip
broadcom-wl: add nvram stub to fix nas compile after the switch to unvram
SVN-Revision: 15439
Diffstat (limited to 'package/broadcom-wl/src')
-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;
+}