bug #42662 clang warnings under FreeBSD 10.x

* avrftdi.h: Fix header guard macro name.
* pgm_type.c (programmers_types): Remove duplicate "const".



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1329 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2014-07-16 20:38:52 +00:00
parent 8fd3870861
commit a226a8a922
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2014-07-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
bug #42662 clang warnings under FreeBSD 10.x
* avrftdi.h: Fix header guard macro name.
* pgm_type.c (programmers_types): Remove duplicate "const".
2014-07-16 Rene Liebscher <R.Liebscher@gmx.de>
bug #42662 clang warnings under FreeBSD 10.x

View File

@ -19,7 +19,7 @@
/* $Id$ */
#ifndef avrftdi_h
#define avrfdti_h
#define avrftdi_h
#include <stdint.h>

View File

@ -52,7 +52,7 @@
#include "wiring.h"
const PROGRAMMER_TYPE const programmers_types[] = {
const PROGRAMMER_TYPE programmers_types[] = {
{"arduino", arduino_initpgm, arduino_desc},
{"avr910", avr910_initpgm, avr910_desc},
{"avrftdi", avrftdi_initpgm, avrftdi_desc},