X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Fsmp.h;h=c3e6c6ceae2c2177a461ecb44eb25f1d5f0b51f8;hb=cad39b73904dfe8f5270603aa54a628e59f507d3;hp=f85c9a4aaf20527c190da65bd3f528643630f641;hpb=b778b36f29b74d6d571df85f984ae684672ea162;p=openocd.git diff --git a/src/target/smp.h b/src/target/smp.h index f85c9a4aaf..c3e6c6ceae 100644 --- a/src/target/smp.h +++ b/src/target/smp.h @@ -13,13 +13,17 @@ * 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_TARGET_SMP_H +#define OPENOCD_TARGET_SMP_H + #include "server/server.h" + int gdb_read_smp_packet(struct connection *connection, - struct target *target, char *packet, int packet_size); + char const *packet, int packet_size); int gdb_write_smp_packet(struct connection *connection, - struct target *target, char *packet, int packet_size); + char const *packet, int packet_size); +#endif /* OPENOCD_TARGET_SMP_H */