INN commit: trunk (15 files)

INN Commit rra at isc.org
Tue Dec 22 13:44:58 UTC 2020


    Date: Tuesday, December 22, 2020 @ 05:44:58
  Author: iulius
Revision: 10458

Explicitly define constants to 1

Modified:
  trunk/history/hisinterface.h
  trunk/history/hisv6/hisv6-private.h
  trunk/history/hisv6/hisv6.h
  trunk/nnrpd/cache.h
  trunk/nnrpd/tls.h
  trunk/storage/buffindexed/buffindexed.h
  trunk/storage/buffindexed/shmem.h
  trunk/storage/cnfs/cnfs.h
  trunk/storage/interface.h
  trunk/storage/ovdb/ovdb.h
  trunk/storage/timecaf/caf.c
  trunk/storage/timecaf/timecaf.h
  trunk/storage/timehash/timehash.h
  trunk/storage/tradspool/tradspool.h
  trunk/storage/trash/trash.h

-----------------------------------+
 history/hisinterface.h            |    2 +-
 history/hisv6/hisv6-private.h     |    2 +-
 history/hisv6/hisv6.h             |    2 +-
 nnrpd/cache.h                     |    2 +-
 nnrpd/tls.h                       |    2 +-
 storage/buffindexed/buffindexed.h |    2 +-
 storage/buffindexed/shmem.h       |    2 +-
 storage/cnfs/cnfs.h               |    2 +-
 storage/interface.h               |    2 +-
 storage/ovdb/ovdb.h               |    2 +-
 storage/timecaf/caf.c             |    2 +-
 storage/timecaf/timecaf.h         |    2 +-
 storage/timehash/timehash.h       |    2 +-
 storage/tradspool/tradspool.h     |    2 +-
 storage/trash/trash.h             |    2 +-
 15 files changed, 15 insertions(+), 15 deletions(-)

Modified: history/hisinterface.h
===================================================================
--- history/hisinterface.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ history/hisinterface.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -4,7 +4,7 @@
 */
 
 #ifndef HISINTERFACE_H
-#define HISINTERFACE_H
+#define HISINTERFACE_H 1
 
 #include "config.h"
 #include <sys/types.h>

Modified: history/hisv6/hisv6-private.h
===================================================================
--- history/hisv6/hisv6-private.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ history/hisv6/hisv6-private.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -1,5 +1,5 @@
 #ifndef HISV6_PRIVATE_H
-#define HISV6_PRIVATE_H
+#define HISV6_PRIVATE_H 1
 
 #include "config.h"
 #include <stdio.h>

Modified: history/hisv6/hisv6.h
===================================================================
--- history/hisv6/hisv6.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ history/hisv6/hisv6.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -4,7 +4,7 @@
 */
 
 #ifndef HISV6_H
-#define HISV6_H
+#define HISV6_H 1
 
 struct token;
 struct histopts;

Modified: nnrpd/cache.h
===================================================================
--- nnrpd/cache.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ nnrpd/cache.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -4,7 +4,7 @@
 */
 
 #ifndef CACHE_H
-#define CACHE_H
+#define CACHE_H 1
 
 #include "inn/libinn.h"
 #include "inn/storage.h"

Modified: nnrpd/tls.h
===================================================================
--- nnrpd/tls.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ nnrpd/tls.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -10,7 +10,7 @@
 #ifdef HAVE_OPENSSL
 
 #ifndef TLS_H
-#define TLS_H
+#define TLS_H 1
 
 /* When building with "make warnings", ensure that INN does not
  * use deprecated interfaces from OpenSSL. */

Modified: storage/buffindexed/buffindexed.h
===================================================================
--- storage/buffindexed/buffindexed.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ storage/buffindexed/buffindexed.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -2,7 +2,7 @@
 */
 
 #ifndef _BUFFINDEXED_H_
-#define _BUFFINDEXED_H_
+#define _BUFFINDEXED_H_ 1
 
 #include "config.h"
 

Modified: storage/buffindexed/shmem.h
===================================================================
--- storage/buffindexed/shmem.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ storage/buffindexed/shmem.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -3,7 +3,7 @@
 */
 
 #ifndef SHMEM_H
-#define SHMEM_H
+#define SHMEM_H 1
 
 #include <sys/types.h>
 

Modified: storage/cnfs/cnfs.h
===================================================================
--- storage/cnfs/cnfs.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ storage/cnfs/cnfs.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -4,7 +4,7 @@
 */
 
 #ifndef __CNFS_H__
-#define __CNFS_H__
+#define __CNFS_H__ 1
 
 bool cnfs_init(SMATTRIBUTE *attr);
 TOKEN cnfs_store(const ARTHANDLE article, const STORAGECLASS class);

Modified: storage/interface.h
===================================================================
--- storage/interface.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ storage/interface.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -4,7 +4,7 @@
 */
 
 #ifndef __INTERFACE_H__
-#define __INTERFACE_H__
+#define __INTERFACE_H__ 1
 
 #include "config.h"
 #include "inn/storage.h"

Modified: storage/ovdb/ovdb.h
===================================================================
--- storage/ovdb/ovdb.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ storage/ovdb/ovdb.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -2,7 +2,7 @@
 */
 
 #ifndef _OVDB_H_
-#define _OVDB_H_
+#define _OVDB_H_ 1
 
 #include "config.h"
 

Modified: storage/timecaf/caf.c
===================================================================
--- storage/timecaf/caf.c	2020-12-19 06:10:49 UTC (rev 10457)
+++ storage/timecaf/caf.c	2020-12-22 13:44:58 UTC (rev 10458)
@@ -16,7 +16,7 @@
 #include "inn/messages.h"
 #include "inn/libinn.h"
 
-#define CAF_INNARDS
+#define CAF_INNARDS 1
 #include "caf.h"
 
 /* following code lifted from inndf.c */

Modified: storage/timecaf/timecaf.h
===================================================================
--- storage/timecaf/timecaf.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ storage/timecaf/timecaf.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -6,7 +6,7 @@
 */
 
 #ifndef __TIMECAF_H__
-#define __TIMECAF_H__
+#define __TIMECAF_H__ 1
 
 #include "config.h"
 #include "interface.h"

Modified: storage/timehash/timehash.h
===================================================================
--- storage/timehash/timehash.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ storage/timehash/timehash.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -4,7 +4,7 @@
 */
 
 #ifndef __TIMEHASH_H__
-#define __TIMEHASH_H__
+#define __TIMEHASH_H__ 1
 
 #include "config.h"
 #include "interface.h"

Modified: storage/tradspool/tradspool.h
===================================================================
--- storage/tradspool/tradspool.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ storage/tradspool/tradspool.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -4,7 +4,7 @@
 */
 
 #ifndef __TRADSPOOL_H__
-#define __TRADSPOOL_H__
+#define __TRADSPOOL_H__ 1
 
 #include "config.h"
 #include "interface.h"

Modified: storage/trash/trash.h
===================================================================
--- storage/trash/trash.h	2020-12-19 06:10:49 UTC (rev 10457)
+++ storage/trash/trash.h	2020-12-22 13:44:58 UTC (rev 10458)
@@ -4,7 +4,7 @@
 */
 
 #ifndef __TRASH_H__
-#define __TRASH_H__
+#define __TRASH_H__ 1
 
 #include "config.h"
 #include "interface.h"



More information about the inn-committers mailing list