arm_adi_v5: prevent possibly endless recursion in dap_dp_init()
[fw/openocd] / src / target / nds32_v3.h
index 7476b202c356a86412697b34d0706e5ea90c2518..a5df8fe52b9afb7de758b95ee135d72d3f01b7c6 100644 (file)
  *   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 <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
-#ifndef __NDS32_V3_H__
-#define __NDS32_V3_H__
+
+#ifndef OPENOCD_TARGET_NDS32_V3_H
+#define OPENOCD_TARGET_NDS32_V3_H
 
 #include "nds32.h"
 
@@ -43,4 +42,4 @@ static inline struct nds32_v3_common *target_to_nds32_v3(struct target *target)
        return container_of(target->arch_info, struct nds32_v3_common, nds32);
 }
 
-#endif /* __NDS32_V3_H__ */
+#endif /* OPENOCD_TARGET_NDS32_V3_H */