X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=extras%2Fzsh.cpp;h=10120b56b8c57ce9dd47373976d15612cbdc10f8;hb=4109c5bd5f0307aab5328a6872c6bd52f4e60042;hp=b21542fcacb48f7bcc8d47cc05a0f82efefc0b7d;hpb=f60b4c79acaf0412280672f83677a96e74dacb65;p=vlc diff --git a/extras/zsh.cpp b/extras/zsh.cpp index b21542fcac..10120b56b8 100644 --- a/extras/zsh.cpp +++ b/extras/zsh.cpp @@ -18,7 +18,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ #include @@ -40,7 +40,6 @@ void PrintModuleList( vlc_t *p_vlc, mmap &mods, mcmap &mods2 ); void ParseOption( module_config_t *p_item, mmap &mods, mcmap &mods2 ); void PrintOption( char *psz_option, char i_short, char *psz_exlusive, char *psz_text, char *psz_longtext, char *psz_args ); -extern "C"{ vlc_t * vlc_current_object( int i_object );} int main( int i_argc, char **ppsz_argv ) { @@ -49,7 +48,7 @@ int main( int i_argc, char **ppsz_argv ) /* Create a libvlc structure */ int i_ret = VLC_Create(); vlc_t *p_vlc; - + if( i_ret < 0 ) { return i_ret; @@ -211,7 +210,6 @@ void ParseOption( module_config_t *p_item, mmap &mods, mcmap &mods2 ) while( range.first != range.second ) { list = list.append( " " ); - printf("%s",range.first->second.c_str()); list = list.append( range.first->second ); ++range.first; }