summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-23 03:02:55 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-23 03:02:55 +0800
commit885a3f467ee9544866327cc818681469f8a4e02d (patch)
tree79509c3eb6f4d523b087ff035759940b6a1a3780 /include
parent8b45fd166b943e17dabb3f5cdf972baeb58e0346 (diff)
downloadpttbbs-885a3f467ee9544866327cc818681469f8a4e02d.tar
pttbbs-885a3f467ee9544866327cc818681469f8a4e02d.tar.gz
pttbbs-885a3f467ee9544866327cc818681469f8a4e02d.tar.bz2
pttbbs-885a3f467ee9544866327cc818681469f8a4e02d.tar.lz
pttbbs-885a3f467ee9544866327cc818681469f8a4e02d.tar.xz
pttbbs-885a3f467ee9544866327cc818681469f8a4e02d.tar.zst
pttbbs-885a3f467ee9544866327cc818681469f8a4e02d.zip
remove SIZEOF
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@436 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/bbs.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/bbs.h b/include/bbs.h
index 023ac1a2..1b2a0d38 100644
--- a/include/bbs.h
+++ b/include/bbs.h
@@ -49,16 +49,4 @@
#else
#include <limits.h>
#endif
-#ifdef DEBUG
-static int Sizeof(char *what,int size,char *file,int line)
-{
- if(size==4)
- printf("WARRNING\r\n");
- printf("%s(%d): sizeof(%s)=%d\r\n",file,line,what,size);
- return size;
-}
-#define SIZEOF(a) Sizeof(#a,sizeof(a),__FILE__,__LINE__)
-#else
-#define SIZEOF(a) sizeof(a)
-#endif
#endif /* INCLUDE_BBS_H */