X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fjtag%2Fjtag.h;h=a6891c03f2cb17502dfb32cb803f17df329ffeb7;hb=80ca927ebc2bb1ca18aff70215222d55c1f196f8;hp=38247b29cae45f22b3dcd502066f2ca178694400;hpb=e54983c10f5e0fe0f58281115497565d3581fca9;p=openocd.git diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index 38247b29ca..a6891c03f2 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -16,13 +16,11 @@ * 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., * -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * +* along with this program. If not, see . * ***************************************************************************/ -#ifndef JTAG_H -#define JTAG_H +#ifndef OPENOCD_JTAG_JTAG_H +#define OPENOCD_JTAG_JTAG_H #include #include @@ -155,8 +153,6 @@ struct jtag_tap { struct jtag_tap_event_action *event_action; struct jtag_tap *next_tap; - /* dap instance if some null if no instance , initialized to 0 by calloc*/ - struct adiv5_dap *dap; /* private pointer to support none-jtag specific functions */ void *priv; }; @@ -644,8 +640,6 @@ void jtag_poll_set_enabled(bool value); * level APIs that are used in inner loops. */ #include -bool transport_is_jtag(void); - int jim_jtag_newtap(Jim_Interp *interp, int argc, Jim_Obj *const *argv); -#endif /* JTAG_H */ +#endif /* OPENOCD_JTAG_JTAG_H */