summaryrefslogtreecommitdiffstats
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
commit4119353ffeba74abfe879a24e5b5d1d8b55481ea (patch)
treec05dcc60f1c16ee79bc055a345c3d37160014761
parent09ca9301b64b0dbb552c63c7076ab9d6e7637f48 (diff)
downloadpttbbs-4119353ffeba74abfe879a24e5b5d1d8b55481ea.tar
pttbbs-4119353ffeba74abfe879a24e5b5d1d8b55481ea.tar.gz
pttbbs-4119353ffeba74abfe879a24e5b5d1d8b55481ea.tar.bz2
pttbbs-4119353ffeba74abfe879a24e5b5d1d8b55481ea.tar.lz
pttbbs-4119353ffeba74abfe879a24e5b5d1d8b55481ea.tar.xz
pttbbs-4119353ffeba74abfe879a24e5b5d1d8b55481ea.tar.zst
pttbbs-4119353ffeba74abfe879a24e5b5d1d8b55481ea.zip
remove SIZEOF
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@436 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/include/bbs.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/pttbbs/include/bbs.h b/pttbbs/include/bbs.h
index 023ac1a2..1b2a0d38 100644
--- a/pttbbs/include/bbs.h
+++ b/pttbbs/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 */