]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Replace strdupa with more portable ast_strdupa 55/3355/1
authorDavid M. Lee <dlee@respoke.io>
Wed, 27 Jul 2016 14:56:29 +0000 (09:56 -0500)
committerDavid M. Lee <dlee@digium.com>
Wed, 27 Jul 2016 15:29:44 +0000 (10:29 -0500)
commit8802e55c260e3c595c5bf584c8cb823768e51d06
tree6f450af375ac43e809e87be04c4f7f238b4b2988
parent49461f37b75aa27275d1c4811007e2a7f94ac002
Replace strdupa with more portable ast_strdupa

The strdupa function is a GNU extension, and not widely portable. We
have an ast_strdupa function used within Asterisk which is preferred.
I pulled the definition up from menuselect.c into the menuselect.h
header file so it can be shared across menuselect.

Change-Id: I9593c97f78386b47dc1e83201e80cb2f62b36c2e
menuselect/menuselect.c
menuselect/menuselect.h
menuselect/menuselect_curses.c