openSUSE / hwinfo

Hardware information tool
GNU General Public License v2.0
256 stars 69 forks source link

remove malloc.h headers usage #110

Open svlobanov opened 2 years ago

svlobanov commented 2 years ago

malloc.h was deprecated many years ago, stdlib.h should be used (stdlib.h is already used)

This patch removes malloc.h usage to build host-tools (isdn_cdb, mk_isdnhwdb) on systems without malloc.h header

Signed-off-by: Sergey V. Lobanov sergey@lobanov.in