X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=charfuncs.c;h=3aee0b00b7374d0d9951e531831769d0dcb522ba;hb=b767e3e90280a1222fc4404cbd4c832342c9382d;hp=04255dc37ffde715be1cfe1fd693a029de500f13;hpb=0c120d1895d25b59abe338862189be1b87447569;p=onak.git diff --git a/charfuncs.c b/charfuncs.c index 04255dc..3aee0b0 100644 --- a/charfuncs.c +++ b/charfuncs.c @@ -13,14 +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 "build-config.h" #include "charfuncs.h" /* @@ -95,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); } @@ -103,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); }