summaryrefslogtreecommitdiff
path: root/netdissect-alloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Memory allocator: Update nd_add_alloc_list() to a static functionFrancois-Xavier Le Bail2022-01-171-1/+3
|
* Include conditionally <config.h> in netdissect-alloc.cFrancois-Xavier Le Bail2018-06-051-0/+4
| | | | | | | | | | | | | | This should suppress the warning reported by Gisle Vanem: In file included from netdissect-alloc.c:18: In file included from ./netdissect-alloc.h:22: ./netdissect.h(131,14): warning: '_strdup' redeclared without 'dllimport' attribute: previous 'dllimport' ignored [-Winconsistent-dllimport] extern char *strdup (const char *str); ^ ./netdissect-stdinc.h(219,18): note: expanded from macro 'strdup' #define strdup _strdup ^
* Add a malloc/free process with garbage collectorFrancois-Xavier Le Bail2018-03-141-0/+58
Use it in the PPP printer.