summaryrefslogtreecommitdiff
path: root/src/io
diff options
context:
space:
mode:
Diffstat (limited to 'src/io')
-rw-r--r--src/io/cxxstdio.hpp2
-rw-r--r--src/io/fd.hpp2
-rw-r--r--src/io/line.hpp2
-rw-r--r--src/io/lock.hpp2
-rw-r--r--src/io/read.hpp2
-rw-r--r--src/io/tty.hpp2
6 files changed, 7 insertions, 5 deletions
diff --git a/src/io/cxxstdio.hpp b/src/io/cxxstdio.hpp
index 479707a..65d32cd 100644
--- a/src/io/cxxstdio.hpp
+++ b/src/io/cxxstdio.hpp
@@ -101,7 +101,9 @@ namespace cxxstdio
return v;
}
+ inline
const char *convert_for_printf(const char *) = delete;
+ inline
char *convert_for_scanf(char *) = delete;
# if 0
diff --git a/src/io/fd.hpp b/src/io/fd.hpp
index 7afb40f..cf91ed1 100644
--- a/src/io/fd.hpp
+++ b/src/io/fd.hpp
@@ -19,7 +19,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+# include "fwd.hpp"
# include <sys/select.h>
# include <sys/socket.h>
diff --git a/src/io/line.hpp b/src/io/line.hpp
index bb002b8..fb1984d 100644
--- a/src/io/line.hpp
+++ b/src/io/line.hpp
@@ -19,7 +19,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+# include "fwd.hpp"
# include "../strings/rstring.hpp"
# include "../strings/astring.hpp"
diff --git a/src/io/lock.hpp b/src/io/lock.hpp
index b879da5..ec8a82e 100644
--- a/src/io/lock.hpp
+++ b/src/io/lock.hpp
@@ -19,7 +19,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+# include "fwd.hpp"
# include "write.hpp"
diff --git a/src/io/read.hpp b/src/io/read.hpp
index f99fb56..3816294 100644
--- a/src/io/read.hpp
+++ b/src/io/read.hpp
@@ -19,7 +19,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+# include "fwd.hpp"
# include "../strings/fwd.hpp"
diff --git a/src/io/tty.hpp b/src/io/tty.hpp
index 97487b8..b6eb227 100644
--- a/src/io/tty.hpp
+++ b/src/io/tty.hpp
@@ -19,7 +19,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+# include "fwd.hpp"
# define SGR_BLACK "\e[30m"