]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Replace strdupa with more portable ast_strdupa 83/3383/1
authorDavid M. Lee <dlee@respoke.io>
Wed, 27 Jul 2016 14:56:29 +0000 (09:56 -0500)
committerGeorge Joseph <gjoseph@digium.com>
Mon, 1 Aug 2016 16:53:19 +0000 (10:53 -0600)
commitdf42f64d62cf6c158a391db4ff1b4c57b87dbf10
treee6046ba90d6fd8d3d6b3ee415c946d16f0721505
parent56a07fbab9bdabc562d88706067ce53f7025a660
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