X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fsmp.h;h=c3e6c6ceae2c2177a461ecb44eb25f1d5f0b51f8;hp=b8f0ea5274ad2330c0a78d01b7f2320a5bba0692;hb=651998e33771bdad56873e3e70bd875104ca1d12;hpb=8d7ddde5f104dde8949dbefcad85f08b7313e126 diff --git a/src/target/smp.h b/src/target/smp.h index b8f0ea5274..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, - char *packet, int packet_size); + char const *packet, int packet_size); int gdb_write_smp_packet(struct connection *connection, - char *packet, int packet_size); + char const *packet, int packet_size); +#endif /* OPENOCD_TARGET_SMP_H */