Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sup/source Remove some unneeded typedefs and defines.
details: https://anonhg.NetBSD.org/src/rev/1d30a1682baa
branches: trunk
changeset: 533925:1d30a1682baa
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Jul 10 23:47:01 2002 +0000
description:
Remove some unneeded typedefs and defines.
diffstat:
usr.sbin/sup/source/c.h | 13 +------------
1 files changed, 1 insertions(+), 12 deletions(-)
diffs (34 lines):
diff -r a346559553bd -r 1d30a1682baa usr.sbin/sup/source/c.h
--- a/usr.sbin/sup/source/c.h Wed Jul 10 23:44:54 2002 +0000
+++ b/usr.sbin/sup/source/c.h Wed Jul 10 23:47:01 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: c.h,v 1.3 2001/01/16 02:50:32 cgd Exp $ */
+/* $NetBSD: c.h,v 1.4 2002/07/10 23:47:01 wiz Exp $ */
/*
* Copyright (c) 1991 Carnegie Mellon University
@@ -56,8 +56,6 @@
#ifndef _C_INCLUDE_
#define _C_INCLUDE_
-#define ABS(x) ((x)>=0?(x):-(x))
-#define MIN(a,b) (((a)<(b))?(a):(b))
#define MAX(a,b) (((a)>(b))?(a):(b))
#ifndef FALSE
@@ -67,15 +65,6 @@
#define TRUE 1
#endif /* TRUE */
-#define CERROR (-1)
-
-#ifndef bool
-typedef enum { false = 0, true = 1 } bool;
-#endif /* bool */
-
-#define sizeofS(string) (sizeof(string) - 1)
#define sizeofA(array) (sizeof(array)/sizeof(array[0]))
-#define caseE(enum_type) case (int)(enum_type)
-
#endif /* _C_INCLUDE_ */
Home |
Main Index |
Thread Index |
Old Index