X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=adu.h;fp=adu.h;h=42b9471ee251e0ccf28ffd185628bfdd3d315634;hp=83c3c664daa2fcfc4acea3e40e225834baef4638;hb=ba2d3fccbd565c9f5f8f652fcc300672e7bf09be;hpb=f56aa749790691ac3a44cc9c67a0ee7055939f78 diff --git a/adu.h b/adu.h index 83c3c66..42b9471 100644 --- a/adu.h +++ b/adu.h @@ -85,21 +85,6 @@ #endif /** \endcond */ -/** - * Wrapper for isspace. - * NetBSD needs this. - */ -/* - * The values should be cast to an unsigned char first, then to int. - * Why? Because the isdigit (as do all other is/to functions/macros) - * expect a number from 0 upto and including 255 as their (int) argument. - * Because char is signed on most systems, casting it to int immediately - * gives the functions an argument between -128 and 127 (inclusive), - * which they will use as an array index, and which will thus fail - * horribly for characters which have their most significant bit set. - */ -#define adu_isspace(c) isspace((int)(unsigned char)(c)) - /** * Write a log message to a dynamically allocated string. *