X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=charfuncs.c;h=3aee0b00b7374d0d9951e531831769d0dcb522ba;hb=74282725064951c7cc35584f6ed792b05dc5a52b;hp=4b404c9300f16038a91db63ae34524c30939c7c1;hpb=d38e1f468376f8b19b208f2da4d20cb2919875dd;p=onak.git diff --git a/charfuncs.c b/charfuncs.c index 4b404c9..3aee0b0 100644 --- a/charfuncs.c +++ b/charfuncs.c @@ -13,16 +13,14 @@ * 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. + * this program. If not, see . */ #include #include -#include -#include #include +#include "build-config.h" #include "charfuncs.h" /* @@ -97,7 +95,7 @@ int file_putchar(void *fd, size_t count, void *c) /* * Gets a char from stdin. */ -int stdin_getchar(void *ctx, size_t count, void *c) +int stdin_getchar(__unused void *ctx, size_t count, void *c) { return (fread(c, 1, count, stdin) != count); } @@ -105,7 +103,7 @@ int stdin_getchar(void *ctx, size_t count, void *c) /* * Puts a char to stdout. */ -int stdout_putchar(void *ctx, size_t count, void *c) +int stdout_putchar(__unused void *ctx, size_t count, void *c) { return (fwrite(c, 1, count, stdout) != count); }