summaryrefslogtreecommitdiff
path: root/src/ctype/toascii.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-31 17:07:29 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-31 17:07:29 -0500
commit40e2986d3d196855bba3836a60a482fd3a0f73a8 (patch)
tree6ce03ea7ddffb7f0001bff12706b21f9bce3c67e /src/ctype/toascii.c
parent421cc9cd7295e5b92cf167a41bd8f55a3b842728 (diff)
remove posix and xopen specific functions
Diffstat (limited to 'src/ctype/toascii.c')
-rw-r--r--src/ctype/toascii.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/ctype/toascii.c b/src/ctype/toascii.c
deleted file mode 100644
index c352a121..00000000
--- a/src/ctype/toascii.c
+++ /dev/null
@@ -1,22 +0,0 @@
-#include <ctype.h>
-#include "_ctype.h"
-
-/** convert a character to 7-bit ASCII **/
-
-int toascii(int c)
-{
- SIGNAL_SAFE(0);
- return (c & 0x7f);
-}
-
-__check_1(int, 0, toascii, int)
-
-/***
-converts ARGUMENT(c) to 7-bit ASCII.
-***/
-
-/*
-RETURN(ARGUMENT(c) & 0x7f)
-XOBSOLETE(700)
-XOPEN(4)
-*/