X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fjtag%2Finterfaces.h;h=ddbd7350606760c8366b6bd2e28c81d3568d110e;hb=7920110665630c8fdc42277ed17f6849597ea63e;hp=38f1e714cf6a4b2f52947f3ba6d73d9e766a9103;hpb=9f535f9af7c6b7e8843033049a6da0f6d76d513b;p=fw%2Fopenocd diff --git a/src/jtag/interfaces.h b/src/jtag/interfaces.h index 38f1e714c..ddbd73506 100644 --- a/src/jtag/interfaces.h +++ b/src/jtag/interfaces.h @@ -23,10 +23,9 @@ * GNU General Public License for more details. * * * * 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-1307, USA. * + * along with this program. If not, see . * ***************************************************************************/ + #ifndef OPENOCD_JTAG_INTERFACES_H #define OPENOCD_JTAG_INTERFACES_H @@ -35,11 +34,8 @@ * for loading and unloading them dynamically from shared libraries. */ -#include "interface.h" - -/// Dynamically load all JTAG interface modules from specified directory. -void jtag_interface_modules_load(const char *path); +#include -extern struct jtag_interface *jtag_interfaces[]; +extern struct adapter_driver *adapter_drivers[]; -#endif // OPENOCD_JTAG_INTERFACES_H +#endif /* OPENOCD_JTAG_INTERFACES_H */