From c4b8fef36281851a4f2abd9f9c025e4419a92138 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 4 Jan 2009 00:35:51 +0000 Subject: Remove svn $Id$s from our source, and remove tor --version --version. The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 --- src/common/address.c | 3 --- src/common/address.h | 2 -- src/common/aes.c | 2 -- src/common/aes.h | 2 -- src/common/compat.c | 3 --- src/common/compat.h | 2 -- src/common/container.c | 3 --- src/common/container.h | 3 --- src/common/crypto.c | 3 --- src/common/crypto.h | 2 -- src/common/ht.h | 2 -- src/common/log.c | 2 -- src/common/log.h | 2 -- src/common/memarea.c | 1 - src/common/memarea.h | 1 - src/common/mempool.c | 1 - src/common/mempool.h | 1 - src/common/strlcpy.c | 1 - src/common/test.h | 2 -- src/common/torgzip.c | 3 --- src/common/torgzip.h | 2 -- src/common/torint.h | 2 -- src/common/tortls.c | 3 --- src/common/tortls.h | 2 -- src/common/util.c | 2 -- src/common/util.h | 2 -- 26 files changed, 54 deletions(-) (limited to 'src/common') diff --git a/src/common/address.c b/src/common/address.c index 2dd763da9..7b122e3f2 100644 --- a/src/common/address.c +++ b/src/common/address.c @@ -2,9 +2,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ -const char address_c_id[] = - "$Id$"; /** * \file address.c diff --git a/src/common/address.h b/src/common/address.h index 76b794754..521a360fa 100644 --- a/src/common/address.h +++ b/src/common/address.h @@ -2,7 +2,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ /** * \file address.h @@ -11,7 +10,6 @@ #ifndef _TOR_ADDRESS_H #define _TOR_ADDRESS_H -#define ADDRESS_H_ID "$Id$" #include "orconfig.h" #include "torint.h" diff --git a/src/common/aes.c b/src/common/aes.c index 52b28b24a..60df36ecd 100644 --- a/src/common/aes.c +++ b/src/common/aes.c @@ -3,8 +3,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ -const char aes_c_id[] = "$Id$"; /** * \file aes.c diff --git a/src/common/aes.h b/src/common/aes.h index ad9b78b23..a566fb4b7 100644 --- a/src/common/aes.h +++ b/src/common/aes.h @@ -2,13 +2,11 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ /* Implements a minimal interface to counter-mode AES. */ #ifndef _TOR_AES_H #define _TOR_AES_H -#define AES_H_ID "$Id$" /** * \file aes.h diff --git a/src/common/compat.c b/src/common/compat.c index 188c2a84f..c54342e56 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -2,9 +2,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ -const char compat_c_id[] = - "$Id$"; /** * \file compat.c diff --git a/src/common/compat.h b/src/common/compat.h index 6dd2f99f2..d1a7b3d94 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -2,11 +2,9 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ #ifndef _TOR_COMPAT_H #define _TOR_COMPAT_H -#define COMPAT_H_ID "$Id$" #include "orconfig.h" #include "torint.h" diff --git a/src/common/container.c b/src/common/container.c index 5e1bc63a6..5c54e469b 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -2,9 +2,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ -const char container_c_id[] = - "$Id$"; /** * \file container.c diff --git a/src/common/container.h b/src/common/container.h index 57c5c2c71..b4ec4ee24 100644 --- a/src/common/container.h +++ b/src/common/container.h @@ -2,12 +2,9 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ #ifndef _TOR_CONTAINER_H #define _TOR_CONTAINER_H -#define CONTAINER_H_ID \ - "$Id$" #include "util.h" diff --git a/src/common/crypto.c b/src/common/crypto.c index 2c892fbc1..ab6670039 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -3,9 +3,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ -const char crypto_c_id[] = - "$Id$"; /** * \file crypto.c diff --git a/src/common/crypto.h b/src/common/crypto.h index e1c14c1c2..906098e06 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -3,7 +3,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ /** * \file crypto.h @@ -13,7 +12,6 @@ #ifndef _TOR_CRYPTO_H #define _TOR_CRYPTO_H -#define CRYPTO_H_ID "$Id$" #include #include "torint.h" diff --git a/src/common/ht.h b/src/common/ht.h index ab371ec36..53c06d890 100644 --- a/src/common/ht.h +++ b/src/common/ht.h @@ -1,13 +1,11 @@ /* Copyright 2002 Christopher Clark */ /* Copyright 2005 Nick Mathewson */ /* See license at end. */ -/* $Id$ */ /* Based on ideas by Christopher Clark and interfaces from Niels Provos. */ #ifndef _TOR_HT_H #define _TOR_HT_H -#define HT_H_ID "$Id$" #define HT_HEAD(name, type) \ struct name { \ diff --git a/src/common/log.c b/src/common/log.c index 78d439130..adab46797 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -3,8 +3,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ -const char log_c_id[] = "$Id$"; /** * \file log.c diff --git a/src/common/log.h b/src/common/log.h index aa1e87305..66f5ee39b 100644 --- a/src/common/log.h +++ b/src/common/log.h @@ -3,7 +3,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ /** * \file log.h @@ -12,7 +11,6 @@ **/ #ifndef _TOR_LOG_H -#define LOG_H_ID "$Id$" #include "compat.h" diff --git a/src/common/memarea.c b/src/common/memarea.c index 93b9d4f92..b99ced135 100644 --- a/src/common/memarea.c +++ b/src/common/memarea.c @@ -1,6 +1,5 @@ /* Copyright (c) 2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ /** \file memarea.c * \brief Implementation for memarea_t, an allocator for allocating lots of diff --git a/src/common/memarea.h b/src/common/memarea.h index b6507728e..2e3c88480 100644 --- a/src/common/memarea.h +++ b/src/common/memarea.h @@ -1,6 +1,5 @@ /* Copyright (c) 2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ /* Tor dependencies */ #ifndef _TOR_MEMAREA_H diff --git a/src/common/mempool.c b/src/common/mempool.c index 6f3edbd6d..3825957e7 100644 --- a/src/common/mempool.c +++ b/src/common/mempool.c @@ -1,6 +1,5 @@ /* Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ #if 1 /* Tor dependencies */ #include "orconfig.h" diff --git a/src/common/mempool.h b/src/common/mempool.h index 584f0ae06..ca8cc1432 100644 --- a/src/common/mempool.h +++ b/src/common/mempool.h @@ -1,6 +1,5 @@ /* Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ /** * \file mempool.h diff --git a/src/common/strlcpy.c b/src/common/strlcpy.c index 142135aa3..9fc47903a 100644 --- a/src/common/strlcpy.c +++ b/src/common/strlcpy.c @@ -1,4 +1,3 @@ -/* $Id$ */ /* $OpenBSD: strlcpy.c,v 1.2 1998/11/06 04:33:16 wvdputte Exp $ */ /* diff --git a/src/common/test.h b/src/common/test.h index 6d4d9e47b..05e17e3fc 100644 --- a/src/common/test.h +++ b/src/common/test.h @@ -2,11 +2,9 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ #ifndef _TOR_TEST_H #define _TOR_TEST_H -#define TEST_H_ID "$Id$" /** * \file test.h diff --git a/src/common/torgzip.c b/src/common/torgzip.c index d1289443e..0347d59eb 100644 --- a/src/common/torgzip.c +++ b/src/common/torgzip.c @@ -2,9 +2,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ -const char torgzip_c_id[] = - "$Id$"; /** * \file torgzip.c diff --git a/src/common/torgzip.h b/src/common/torgzip.h index 117237180..6b994c2fc 100644 --- a/src/common/torgzip.h +++ b/src/common/torgzip.h @@ -2,7 +2,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ /** * \file torgzip.h @@ -11,7 +10,6 @@ #ifndef _TOR_TORGZIP_H #define _TOR_TORGZIP_H -#define TORGZIP_H_ID "$Id$" /** Enumeration of what kind of compression to use. Only ZLIB_METHOD is * guaranteed to be supported by the compress/uncompress functions here; diff --git a/src/common/torint.h b/src/common/torint.h index b36acc8d1..e603aa5fa 100644 --- a/src/common/torint.h +++ b/src/common/torint.h @@ -2,7 +2,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ /** * \file torint.h @@ -11,7 +10,6 @@ #ifndef _TOR_TORINT_H #define _TOR_TORINT_H -#define TORINT_H_ID "$Id$" #include "orconfig.h" diff --git a/src/common/tortls.c b/src/common/tortls.c index 20c1d0676..288b757b0 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -2,9 +2,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ -const char tortls_c_id[] = - "$Id$"; /** * \file tortls.c diff --git a/src/common/tortls.h b/src/common/tortls.h index c20fccbb0..37e762ed3 100644 --- a/src/common/tortls.h +++ b/src/common/tortls.h @@ -2,11 +2,9 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ #ifndef _TOR_TORTLS_H #define _TOR_TORTLS_H -#define TORTLS_H_ID "$Id$" /** * \file tortls.h diff --git a/src/common/util.c b/src/common/util.c index 4a8d762e4..7dc8bcfb9 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -2,8 +2,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ -const char util_c_id[] = "$Id$"; /** * \file util.c diff --git a/src/common/util.h b/src/common/util.h index d3e234185..93db417f1 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -2,7 +2,6 @@ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2008, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -/* $Id$ */ /** * \file util.h @@ -11,7 +10,6 @@ #ifndef _TOR_UTIL_H #define _TOR_UTIL_H -#define UTIL_H_ID "$Id$" #include "orconfig.h" #include "torint.h" -- cgit v1.2.3