gmio_core: remove needless gmio_streampos_null()

This commit is contained in:
Hugues Delorme 2016-01-20 18:23:09 +01:00
parent 523cd028b8
commit 3619a43992
2 changed files with 0 additions and 32 deletions

View File

@ -1,25 +0,0 @@
/****************************************************************************
** gmio
** Copyright Fougue (2 Mar. 2015)
** contact@fougue.pro
**
** This software is a reusable library whose purpose is to provide complete
** I/O support for various CAD file formats (eg. STL)
**
** This software is governed by the CeCILL-B license under French law and
** abiding by the rules of distribution of free software. You can use,
** modify and/ or redistribute the software under the terms of the CeCILL-B
** license as circulated by CEA, CNRS and INRIA at the following URL
** "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html".
****************************************************************************/
#include "streampos.h"
#include <stdio.h>
#include <stdlib.h>
struct gmio_streampos gmio_streampos_null()
{
struct gmio_streampos pos = {0};
return pos;
}

View File

@ -43,12 +43,5 @@ struct gmio_streampos
uint8_t cookie[GMIO_STREAMPOS_COOKIE_SIZE];
};
GMIO_C_LINKAGE_BEGIN
/*! Returns a null stream position */
GMIO_LIB_EXPORT struct gmio_streampos gmio_streampos_null();
GMIO_C_LINKAGE_END
#endif /* GMIO_STREAMPOS_H */
/*! @} */