summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-29 22:25:31 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-29 22:25:31 +0000
commit7fbd2975326eb5d2816a303b621942a72b5d57ca (patch)
tree4c71039adc3d62cda441915aa4c678d5ea659d4b /src/common
parentaff512268563c7c9b0d675a85c7c03bb3ca628ad (diff)
downloadtor-7fbd2975326eb5d2816a303b621942a72b5d57ca.tar.gz
tor-7fbd2975326eb5d2816a303b621942a72b5d57ca.zip
Suggestion from weasel: Make tor --version --version dump the cvs Id of every file.
svn:r3019
Diffstat (limited to 'src/common')
-rw-r--r--src/common/aes.c1
-rw-r--r--src/common/aes.h1
-rw-r--r--src/common/compat.c1
-rw-r--r--src/common/compat.h1
-rw-r--r--src/common/container.c1
-rw-r--r--src/common/container.h1
-rw-r--r--src/common/crypto.c1
-rw-r--r--src/common/crypto.h1
-rw-r--r--src/common/fakepoll.c1
-rw-r--r--src/common/fakepoll.h1
-rw-r--r--src/common/log.c1
-rw-r--r--src/common/log.h6
-rw-r--r--src/common/test.h1
-rw-r--r--src/common/torgzip.c1
-rw-r--r--src/common/torgzip.h1
-rw-r--r--src/common/torint.h1
-rw-r--r--src/common/tortls.c1
-rw-r--r--src/common/tortls.h1
-rw-r--r--src/common/util.c1
-rw-r--r--src/common/util.h1
20 files changed, 20 insertions, 5 deletions
diff --git a/src/common/aes.c b/src/common/aes.c
index f6f4a12336..5ec6fb3c2e 100644
--- a/src/common/aes.c
+++ b/src/common/aes.c
@@ -1,6 +1,7 @@
/* Copyright 2001,2002,2003 Roger Dingledine, Matej Pfajfar. */
/* 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 790fb44382..bd046cf096 100644
--- a/src/common/aes.h
+++ b/src/common/aes.h
@@ -6,6 +6,7 @@
#ifndef __AES_H
#define __AES_H
+#define AES_H_ID "$Id$"
/**
* \file aes.h
diff --git a/src/common/compat.c b/src/common/compat.c
index da2b8a143d..528f0beed0 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -1,6 +1,7 @@
/* Copyright 2003-2004 Roger Dingledine; Copyright 2004 Nick Mathewson */
/* See LICENSE for licensing information */
/* $Id$ */
+const char compat_c_id[] = "$Id$";
/* This is required on rh7 to make strptime not complain.
*/
diff --git a/src/common/compat.h b/src/common/compat.h
index a7ab4c9c7b..6b718c2f53 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -4,6 +4,7 @@
#ifndef __COMPAT_H
#define __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 5ced2b6ff8..a13b20b1ce 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -1,6 +1,7 @@
/* Copyright 2003-2004 Roger Dingledine; Copyright 2004 Nick Mathewson */
/* See LICENSE for licensing information */
/* $Id$ */
+const char container_c_id[] = "$Id$";
#include "compat.h"
#include "util.h"
diff --git a/src/common/container.h b/src/common/container.h
index aab568d4a9..9cd7bf289d 100644
--- a/src/common/container.h
+++ b/src/common/container.h
@@ -4,6 +4,7 @@
#ifndef __CONTAINER_H
#define __CONTAINER_H
+#define CONTAINER_H_ID "$Id$"
/** Generic resizeable array. */
typedef struct smartlist_t smartlist_t;
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 650aad4879..25366883ca 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1,6 +1,7 @@
/* Copyright 2001,2002,2003 Roger Dingledine, Matej Pfajfar. */
/* 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 5fc8625210..eb3998505f 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -10,6 +10,7 @@
#ifndef __CRYPTO_H
#define __CRYPTO_H
+#define CRYPTO_H_ID "$Id$"
#include <stdio.h>
diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c
index fb375f1e91..712f2bd365 100644
--- a/src/common/fakepoll.c
+++ b/src/common/fakepoll.c
@@ -1,6 +1,7 @@
/* Copyright 2002,2003 Nick Mathewson, Roger Dingledine */
/* See LICENSE for licensing information */
/* $Id$ */
+const char fakepoll_c_id[] = "$Id$";
/**
* \file fakepoll.c
diff --git a/src/common/fakepoll.h b/src/common/fakepoll.h
index c8632bb7be..44fc63d858 100644
--- a/src/common/fakepoll.h
+++ b/src/common/fakepoll.h
@@ -4,6 +4,7 @@
#ifndef __FAKEPOLL_H
#define __FAKEPOLL_H
+#define FAKEPOLL_H_ID "$Id$"
/**
* \file fakepoll.h
diff --git a/src/common/log.c b/src/common/log.c
index 06d333b41a..4e5a69f1a6 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -1,6 +1,7 @@
/* Copyright 2001,2002,2003 Roger Dingledine, Matej Pfajfar. */
/* 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 07e865e689..6ee13cbfda 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -9,11 +9,7 @@
**/
#ifndef __LOG_H
-
-/**
- * \file log.h
- * \brief Headers for log.c
- */
+#define LOG_H_ID "$Id$"
#include "../common/compat.h"
diff --git a/src/common/test.h b/src/common/test.h
index 84ea1f9127..083d00eae9 100644
--- a/src/common/test.h
+++ b/src/common/test.h
@@ -4,6 +4,7 @@
#ifndef __TEST_H
#define __TEST_H
+#define TEST_H_ID "$Id$"
/**
* \file test.h
diff --git a/src/common/torgzip.c b/src/common/torgzip.c
index 0e781cca6f..12af332b70 100644
--- a/src/common/torgzip.c
+++ b/src/common/torgzip.c
@@ -1,6 +1,7 @@
/* Copyright 2004 Roger Dingledine */
/* 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 4a7c205788..a023cd0c2d 100644
--- a/src/common/torgzip.h
+++ b/src/common/torgzip.h
@@ -9,6 +9,7 @@
#ifndef __TORGZIP_H
#define __TORGZIP_H
+#define TORGZIP_H_ID "$Id$"
typedef enum { GZIP_METHOD=1, ZLIB_METHOD=2 } compress_method_t;
diff --git a/src/common/torint.h b/src/common/torint.h
index eef6bee2ef..af2775a8cb 100644
--- a/src/common/torint.h
+++ b/src/common/torint.h
@@ -9,6 +9,7 @@
#ifndef __TORINT_H
#define __TORINT_H
+#define TORINT_H_ID "$Id$"
#include "orconfig.h"
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 4068805fd4..01d5b58795 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -1,6 +1,7 @@
/* Copyright 2003 Roger Dingledine. */
/* 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 d8fcb9e090..7c6248e8a6 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -4,6 +4,7 @@
#ifndef _TORTLS_H
#define _TORTLS_H
+#define TORTLS_H_ID "$Id$"
/**
* \file tortls.h
diff --git a/src/common/util.c b/src/common/util.c
index f8eb3019a9..f007188e34 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -1,6 +1,7 @@
/* Copyright 2003 Roger Dingledine */
/* 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 977425db57..5b08fc855f 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -9,6 +9,7 @@
#ifndef __UTIL_H
#define __UTIL_H
+#define UTIL_H_ID "$Id$"
#include "orconfig.h"
#include "torint.h"