In the list.h header, there is a variable called new. I know this is not a public header, but it is easy enough to change this variable so that the header could be included by a C++ file later on (as seems indicated by the extern "C" declaration at the top of the file)
In the
list.h
header, there is a variable callednew
. I know this is not a public header, but it is easy enough to change this variable so that the header could be included by a C++ file later on (as seems indicated by theextern "C"
declaration at the top of the file)