Pick up some updates from Jeff Morris' abandoned change.

See change Ia3810fe228b497d888d825f8b606078e2f71be65.

Change-Id: Ia6df3434e31a4364bb867a978ee0f89738c19e9d
Reviewed-on: https://code.wireshark.org/review/15665
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2016-05-31 17:31:32 -07:00
parent 8f1efa9c09
commit d67e305c49
1 changed files with 5 additions and 2 deletions

View File

@ -25,12 +25,15 @@ Change ntoh[ls], hton[ls] to use g_ntoh[ls], g_hton[ls] from glib
find . -name "nghttp2*" -type f -exec sed -i 's/ntoh/g_ntoh/g' {} \;
find . -name "nghttp2*" -type f -exec sed -i 's/hton/g_hton/g' {} \;
Use glib.h and no nghttp2_net.h for ntoh/hton
Use glib.h and not nghttp2_net.h for ntoh/hton
find . -name "nghttp2*" -type f -exec sed -i 's/"nghttp2_net.h"/<glib.h>/g' {} \;
Fix c++-compat error and documentation (struct => typedef) error
in nghttp2/nghttp2.h
Rename free function to free_func in nghttp2_mem.[ch] to avoid shadowing
standard C free() function from stdlib.h
In nghttp2/nghttp2.h
Add on the top
#include <config.h>