]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed warning errors during build on FreeBSD and Solaris x86
authorserassio <>
Sun, 3 Jul 2005 00:34:03 +0000 (00:34 +0000)
committerserassio <>
Sun, 3 Jul 2005 00:34:03 +0000 (00:34 +0000)
helpers/basic_auth/PAM/pam_auth.c
helpers/basic_auth/YP/nis_support.c
helpers/external_acl/ip_user/main.c
helpers/external_acl/unix_group/check_group.c

index 68963c9362486616cbef30ec83c5b1d246e48a51..a794060a40c7605916dd10dbc7d1a853e069ca3f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: pam_auth.c,v 1.15 2003/11/05 18:14:25 hno Exp $
+ * $Id: pam_auth.c,v 1.16 2005/07/02 18:34:03 serassio Exp $
  *
  * PAM authenticator module for Squid.
  * Copyright (C) 1999,2002,2003 Henrik Nordstrom <hno@squid-cache.org>
@@ -63,6 +63,8 @@
  * Compile this program with: gcc -o pam_auth pam_auth.c -lpam -ldl
  */
 
+#include "util.h"
+
 #include <stdio.h>
 #include <assert.h>
 #include <stdlib.h>
@@ -73,8 +75,6 @@
 
 #include <security/pam_appl.h>
 
-#include "util.h"
-
 #define BUFSIZE 8192
 
 
index ec724475fac8fb0bc60bdb0aa9438a21506b36b5..05aec65293f3ace6435b7ee3193f74f83d379b2b 100644 (file)
@@ -2,9 +2,9 @@
  * Written By Rabellino Sergio (rabellino@di.unito.it) For Solaris 2.x
  */
 
-#include <strings.h>
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #include <syslog.h>
 #include <sys/types.h>
 #include <rpc/rpc.h>
index 7b6bbe28a3b43b043d3dd0300d7821ed61311c1c..4c9ba468839453be546a8e8e4db8af77a0b70cfe 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.4 2004/08/14 22:54:52 hno Exp $ 
+/* $Id: main.c,v 1.5 2005/07/02 18:34:03 serassio Exp $ 
 * Copyright (C) 2002 Rodrigo Campos
 *
 * This program is free software; you can redistribute it and/or modify
 * Author: Rodrigo Campos (rodrigo@geekbunker.org)
 * 
 */
+
+#include "util.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
 
-
 #include "ip_user.h"
-#include "util.h"
 
 void
 usage (char *program_name)
index 5f6805d895354ade426a1d75c38606ef97a0205d..d1bb6b7178a2d7d7c90abad444c553c85fb3d1b7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: check_group.c,v 1.4 2004/08/14 22:54:53 hno Exp $
+ * $Id: check_group.c,v 1.5 2005/07/02 18:34:03 serassio Exp $
  *
  * This is a helper for the external ACL interface for Squid Cache
  * Copyright (C) 2002 Rodrigo Albani de Campos (rodrigo@geekbunker.org)
@@ -52,6 +52,8 @@
  *
  */
 
+#include "util.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -61,8 +63,6 @@
 #include <pwd.h>
 #include <ctype.h>
 
-#include "util.h"
-
 #define BUFSIZE 8192           /* the stdin buffer size */
 #define MAX_GROUP 10           /* maximum number of groups specified 
                                 * on the command line */