[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Fix "implicit declaration of ftello" warning: add AC_FUNC_F...



Update of /home/or/cvsroot/tor/src/common
In directory moria.mit.edu:/tmp/cvs-serv30281/src/common

Modified Files:
	aes.c log.c 
Log Message:
Fix "implicit declaration of ftello" warning: add AC_FUNC_FSEEKO in configure.in and always include orconfig.h before anything else

Index: aes.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/aes.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- aes.c	10 May 2004 03:53:24 -0000	1.13
+++ aes.c	14 Nov 2004 17:21:32 -0000	1.14
@@ -8,10 +8,10 @@
  * \brief Implementation of a simple AES counter mode.
  **/
 
+#include "orconfig.h"
 #include <assert.h>
 #include <stdlib.h>
 #include <string.h>
-#include "orconfig.h"
 #include "aes.h"
 #include "util.h"
 

Index: log.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/log.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- log.c	14 Nov 2004 09:49:27 -0000	1.66
+++ log.c	14 Nov 2004 17:21:32 -0000	1.67
@@ -8,11 +8,11 @@
  * \brief Functions to send messages to log files or the console.
  */
 
+#include "orconfig.h"
 #include <stdarg.h>
 #include <assert.h>
 #include <stdlib.h>
 #include <string.h>
-#include "orconfig.h"
 #include "./util.h"
 #include "./log.h"