X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fhelper%2Ffileio.h;h=c3824ff8fe9bd358598b730b4717fda01a1b83de;hb=1919dbbfd23c699ecdc23d29ee3a79b2dc773571;hp=bd6442450eb72de09289f5d699034e18d6b91fb0;hpb=8b00e56e6433cff3ff818835953b27765aaabab0;p=openocd.git diff --git a/src/helper/fileio.h b/src/helper/fileio.h index bd6442450e..c3824ff8fe 100644 --- a/src/helper/fileio.h +++ b/src/helper/fileio.h @@ -21,14 +21,12 @@ * 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. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ #ifndef FILEIO_H #define FILEIO_H -#include - #define FILEIO_MAX_ERROR_STRING (128) enum fileio_type { @@ -64,7 +62,7 @@ int fileio_write(struct fileio *fileio, int fileio_read_u32(struct fileio *fileio, uint32_t *data); int fileio_write_u32(struct fileio *fileio, uint32_t data); -int fileio_size(struct fileio *fileio, int *size); +int fileio_size(struct fileio *fileio, size_t *size); #define ERROR_FILEIO_LOCATION_UNKNOWN (-1200) #define ERROR_FILEIO_NOT_FOUND (-1201)