jtag: remove libftdi enum-compare warning
[fw/openocd] / src / jtag / interfaces.h
index a6d94405994b59818eea89a8741b2a167c72dfd6..a86cccd04c79fd57166063df197e26232b2868ee 100644 (file)
  *   Free Software Foundation, Inc.,                                       *
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
+
 #ifndef OPENOCD_JTAG_INTERFACES_H
 #define OPENOCD_JTAG_INTERFACES_H
 
-/**
- * @file Exports the list of JTAG interface drivers, along with routines
+/** @file
+ * Exports the list of JTAG interface drivers, along with routines
  * for loading and unloading them dynamically from shared libraries.
  */
 
-#include "interface.h"
+#include <jtag/interface.h>
 
-/// Dynamically load all JTAG interface modules from specified directory.
+/** Dynamically load all JTAG interface modules from specified directory. */
 void jtag_interface_modules_load(const char *path);
 
-extern jtag_interface_t *jtag_interfaces[];
+extern struct jtag_interface *jtag_interfaces[];
 
-#endif // OPENOCD_JTAG_INTERFACES_H
+#endif /* OPENOCD_JTAG_INTERFACES_H */