Index: cron.c
===================================================================
RCS file: /cvs/src/usr.sbin/cron/cron.c,v
retrieving revision 1.74
diff -u -p -r1.74 cron.c
--- cron.c 11 Jan 2016 14:23:50 -0000 1.74
+++ cron.c 5 Nov 2016 13:12:49 -0000
@@ -28,7 +28,6 @@
#include <err.h>
#include <errno.h>
#include <grp.h>
-#include <locale.h>
#include <poll.h>
#include <signal.h>
#include <stdio.h>
@@ -68,7 +67,7 @@ static double batch_maxload = BATCH_MA
static int NoFork;
static time_t StartTime;
-static void
+static void __dead
usage(void)
{
@@ -81,8 +80,6 @@ main(int argc, char *argv[])
{
struct sigaction sact;
sigset_t blocked, omask;
-
- setlocale(LC_ALL, "");
setvbuf(stdout, NULL, _IOLBF, 0);
setvbuf(stderr, NULL, _IOLBF, 0);
Index: crontab.c
===================================================================
RCS file: /cvs/src/usr.sbin/cron/crontab.c,v
retrieving revision 1.92
diff -u -p -r1.92 crontab.c
--- crontab.c 11 Jan 2016 14:23:50 -0000 1.92
+++ crontab.c 5 Nov 2016 13:12:49 -0000
@@ -26,7 +26,6 @@
#include <err.h>
#include <errno.h>
#include <limits.h>
-#include <locale.h>
#include <pwd.h>
#include <signal.h>
#include <stdio.h>
@@ -92,7 +91,6 @@ main(int argc, char *argv[])
user_gid = getgid();
crontab_gid = getegid();
- setlocale(LC_ALL, "");
openlog(__progname, LOG_PID, LOG_CRON);
setvbuf(stderr, NULL, _IOLBF, 0);