When code is build with --enable-generic-openwrt,
the tr181 implementations from dmtree/tr181/.*-openwrt.c are used.
Otherwise for IOPSYS-WRT, dmtree/tr181/*-iopsyswrt.c sources are used.
Note that all functions that have OS specific handlers, are prefixed
with 'os__' and are implemented in their OS specific file.
Functions that are only available in IOPSYS-WRT are prefixed with
'os_iopsys_*'.
More OpenWrt OS impelementations will follow in future commits.
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
- remove unused variables
- fix coding style of most function (Indentation, Tabulation, ..)
- check the source code using cppcheck tool
- change sprintf by snprintf