diff options
author | Steve Slaven <bpk@hoopajoo.net> | 2005-03-13 02:18:06 (GMT) |
---|---|---|
committer | Steve Slaven <bpk@hoopajoo.net> | 2005-03-13 02:18:06 (GMT) |
commit | ab63de918b53985b98ea3338412b1fd47cb66c57 (patch) | |
tree | 91d13b8cd64e8a54df43363ba25047a0e07c3842 /ptr.h | |
parent | 214a3c4cecf7a4c409c76e4fffe4bd62af9e1ece (diff) | |
download | powwow-ab63de918b53985b98ea3338412b1fd47cb66c57.zip powwow-ab63de918b53985b98ea3338412b1fd47cb66c57.tar.gz powwow-ab63de918b53985b98ea3338412b1fd47cb66c57.tar.bz2 |
This commit was manufactured by cvs2svn to create tag 'powwow_1_2_7'.orig_v1.2.7
Diffstat (limited to 'ptr.h')
-rw-r--r-- | ptr.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -56,13 +56,16 @@ char *ptrmchrs __P ((ptr p, char *q, int lenq)); char *ptrrchrs __P ((ptr p, ptr q)); char *ptrmrchrs __P ((ptr p, char *q, int lenq)); -char *memrchr __P ((char *p, int lenp, char c)); char *memchrs __P ((char *p, int lenp, char *q, int lenq)); char *memrchrs __P ((char *p, int lenp, char *q, int lenq)); #ifdef _GNU_SOURCE # define memfind memmem #else char *memfind __P ((char *hay, int haylen, char *needle, int needlelen)); +/* TODO: watch memrchr, it is defined differently here than under _GNU_SOURCE, + * so it could cause bizarre results if a module makes use of a library that + * uses it */ +char *memrchr __P ((char *p, int lenp, char c)); #endif #endif /* _PTR_H_ */ |