]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Replace strdupa with more portable ast_strdupa 54/3354/1
authorDavid M. Lee <dlee@respoke.io>
Wed, 27 Jul 2016 14:56:29 +0000 (09:56 -0500)
committerDavid M. Lee <dlee@respoke.io>
Wed, 27 Jul 2016 15:02:15 +0000 (10:02 -0500)
commit47689998a9167b7826df4cfaf6df4bc25c63b17c
treecc06cc208ed84c18f3674e43730689fd243678e2
parentba449e024203f2e90621da9e85ff6066d4a32627
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