summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/toupper.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/locale/toupper.c')
-rw-r--r--lib/libc/locale/toupper.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/locale/toupper.c b/lib/libc/locale/toupper.c
index d2e4480..d01104b0 100644
--- a/lib/libc/locale/toupper.c
+++ b/lib/libc/locale/toupper.c
@@ -32,6 +32,8 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * $FreeBSD$
*/
#include <stdio.h>
@@ -41,7 +43,6 @@ _BSD_CT_RUNE_T_
___toupper(c)
_BSD_CT_RUNE_T_ c;
{
-#ifdef XPG4
int x;
_RuneRange *rr = &_CurrentRuneLocale->mapupper_ext;
_RuneEntry *re = rr->ranges;
@@ -55,6 +56,6 @@ ___toupper(c)
if (c <= re->max)
return(re->map + c - re->min);
}
-#endif
+
return(c);
}
OpenPOWER on IntegriCloud