git » nmdb » commit 97a5163

Remove unneeded information from d/sizeof.c.

author Alberto Bertogli
2007-03-31 23:20:08 UTC
committer Alberto Bertogli
2007-03-31 23:20:08 UTC
parent 6fd22de3c9dcfc7b152ebcf1097cfada7580750d

Remove unneeded information from d/sizeof.c.

Because we use D's size_t and ptrdiff_t (which are guaranteed to be the same
as C's), there is no need for sizeof.c to inform their size.

d/sizeof.c +0 -2

diff --git a/d/sizeof.c b/d/sizeof.c
index 93d053a..2a8e7b5 100644
--- a/d/sizeof.c
+++ b/d/sizeof.c
@@ -10,8 +10,6 @@
 int main()
 {
 	printf("sizeof(struct nmdb_t) = %lu\n", sizeof(struct nmdb_t));
-	printf("sizeof(size_t) = %lu\n", sizeof(size_t));
-	printf("sizeof(ssize_t) = %lu\n", sizeof(ssize_t));
 	return 0;
 }