[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Fix "implicit declaration of ftello" warning: add AC_FUNC_F...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Fix "implicit declaration of ftello" warning: add AC_FUNC_F...
- From: nickm@seul.org (Nick Mathewson)
- Date: Sun, 14 Nov 2004 12:21:35 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sun, 14 Nov 2004 12:22:02 -0500
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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"