changeset 475:20abd71918ad noffle

[svn] * src/authenticate.c: Move includes of grp.h and pwd.h to after the include of their pre-requisite headers. Spotted on MacOS X by Andre Berger.
author bears
date Tue, 16 Mar 2004 10:24:18 +0000
parents e63a3bc27a75
children 29cccddfc307
files ChangeLog src/authenticate.c
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Nov 29 23:53:31 2003 +0000
+++ b/ChangeLog	Tue Mar 16 10:24:18 2004 +0000
@@ -1,3 +1,8 @@
+Tue Mar 16 2004 Jim Hague <jim.hague@acm.org>
+
+* src/authenticate.c: Move includes of grp.h and pwd.h to after the
+  include of their pre-requisite headers. Spotted on MacOS X by Andre Berger.
+
 Sun Nov 29 2003 Jim Hague <jim.hague@acm.org>
 
 * src/configfile.c: Brown paper bag problem. noffle-group config was setting
--- a/src/authenticate.c	Sat Nov 29 23:53:31 2003 +0000
+++ b/src/authenticate.c	Tue Mar 16 10:24:18 2004 +0000
@@ -3,7 +3,7 @@
 
   Do client authentication
 
-  $Id: authenticate.c 423 2003-01-12 17:05:49Z bears $
+  $Id: authenticate.c 622 2004-03-16 10:24:18Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -11,13 +11,13 @@
 #endif
 
 #include <errno.h>
-#include <grp.h>
-#include <pwd.h>
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
+#include <grp.h>
+#include <pwd.h>
 #include "common.h"
 #include "authenticate.h"
 #include "configfile.h"