From 4763814c683c50f8a3697b74e764f19c3dacccd5 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 2 Sep 2019 23:38:48 +0200 Subject: migrate codebase to use squareball. again :) --- src/common/stdin.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/common/stdin.c (limited to 'src/common/stdin.c') diff --git a/src/common/stdin.c b/src/common/stdin.c deleted file mode 100644 index a460247..0000000 --- a/src/common/stdin.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * blogc: A blog compiler. - * Copyright (C) 2014-2019 Rafael G. Martins - * - * This program can be distributed under the terms of the BSD License. - * See the file LICENSE. - */ - -#include -#include -#include "utils.h" -#include "stdin.h" - - -// splitted in single file to make it easier to test -char* -bc_stdin_read(void) -{ - int c; - bc_string_t *rv = bc_string_new(); - while (EOF != (c = fgetc(stdin))) - bc_string_append_c(rv, c); - return bc_string_free(rv, false); -} -- cgit v1.2.3-18-g5258