Author: eadler
Date: Thu May  2 17:02:50 2013
New Revision: 250186
URL: http://svnweb.freebsd.org/changeset/base/250186

Log:
  Prefer using the C++ version of the standard headers.  These place the
  names within the std namespace (and possibly within the global
  namespace).
  
  The main advantage is that the C++ versions can provide optimized
  versions or simplified interfaces.

Modified:
  head/sbin/devd/devd.cc

Modified: head/sbin/devd/devd.cc
==============================================================================
--- head/sbin/devd/devd.cc      Thu May  2 16:09:06 2013        (r250185)
+++ head/sbin/devd/devd.cc      Thu May  2 17:02:50 2013        (r250186)
@@ -73,19 +73,20 @@ __FBSDID("$FreeBSD$");
 #include <sys/wait.h>
 #include <sys/un.h>
 
-#include <ctype.h>
+#include <cctype>
+#include <cerrno>
+#include <cstdlib>
+#include <cstdio>
+#include <csignal>
+#include <cstring>
+
 #include <dirent.h>
-#include <errno.h>
 #include <err.h>
 #include <fcntl.h>
 #include <libutil.h>
 #include <paths.h>
 #include <poll.h>
 #include <regex.h>
-#include <signal.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
 #include <unistd.h>
 
 #include <algorithm>
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to