Path: blob/main/multimedia/dvb-apps/files/patch-util_dst-utils_dst_test.c
18157 views
From ed58fb83ffaf70423a83866a738978cc273f877b Mon Sep 17 00:00:00 20011From: Chris Reffett <creffett@gentoo.org>2Date: Thu, 4 Jan 2018 13:13:00 -05003Subject: media-tv/linuxtv-dvb-apps: Remove references to deleted CA_SET_PID4syscall56Closes: https://bugs.gentoo.org/6434367Package-Manager: Portage-2.3.19, Repoman-2.3.68--- util/dst-utils/dst_test.c9+++ util/dst-utils/dst_test.c10@@ -111,16 +111,6 @@11return 0;12}1314-static int dst_set_pid(int cafd)15-{16- if ((ioctl(cafd, CA_SET_PID)) < 0) {17- printf("%s: ioctl failed ..\n", __FUNCTION__);18- return -1;19- }20-21- return 0;22-}23-24static int dst_get_descr(int cafd)25{26if ((ioctl(cafd, CA_GET_DESCR_INFO)) < 0) {27@@ -229,10 +219,6 @@28printf("%s: Reset\n", __FUNCTION__);29dst_reset(cafd);30break;31- case 'p':32- printf("%s: PID\n", __FUNCTION__);33- dst_set_pid(cafd);34- break;35case 'g':36printf("%s: Get Desc\n", __FUNCTION__);37dst_get_descr(cafd);383940