aboutsummaryrefslogtreecommitdiffstats
path: root/package/unvram/src/nvram.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-04-27 01:38:15 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-04-27 01:38:15 +0000
commit67c247686c92b23edded4024ec995bd0568ae443 (patch)
tree3150fb23657fd296cc426e22241c3baed06759c7 /package/unvram/src/nvram.h
parentf77221b3ca8b6b17221d0b48a04a308afdaa23ed (diff)
downloadupstream-67c247686c92b23edded4024ec995bd0568ae443.tar.gz
upstream-67c247686c92b23edded4024ec995bd0568ae443.tar.bz2
upstream-67c247686c92b23edded4024ec995bd0568ae443.zip
[package] unvram: get rid of some memory leaks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15430 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/unvram/src/nvram.h')
-rw-r--r--package/unvram/src/nvram.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/unvram/src/nvram.h b/package/unvram/src/nvram.h
index b718928c0e..e3d64613d4 100644
--- a/package/unvram/src/nvram.h
+++ b/package/unvram/src/nvram.h
@@ -90,7 +90,7 @@ uint8_t hndcrc8 (uint8_t * pdata, uint32_t nbytes, uint8_t crc);
uint8_t nvram_calc_crc(nvram_header_t * nvh);
/* Determine NVRAM device node. */
-const char * nvram_find_mtd(void);
+char * nvram_find_mtd(void);
/* Copy NVRAM contents to staging file. */
int nvram_to_staging(void);
@@ -99,7 +99,7 @@ int nvram_to_staging(void);
int staging_to_nvram(void);
/* Check NVRAM staging file. */
-const char * nvram_find_staging(void);
+char * nvram_find_staging(void);
/* Staging file for NVRAM */