X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Finterfaces.h;h=02d201b1faa0362a0dd2415da588de16bb01d966;hp=a32d3f918223ccb81a90a5170a2178004c27bccf;hb=cc2d4f015f72d7c30d613b50572eb9f31fac515a;hpb=44b06db78309cffc35fc1f054b0aa10a36f3451d;ds=sidebyside diff --git a/src/jtag/interfaces.h b/src/jtag/interfaces.h index a32d3f9182..02d201b1fa 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,11 @@ * for loading and unloading them dynamically from shared libraries. */ -#include "interface.h" +#include -/// 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 */