diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-31 20:46:22 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-31 20:46:22 +0800 |
commit | e755863dc764c11e2ee28daf05df6f53bf9be0f4 (patch) | |
tree | bdd2af4b2bbb01971be0438d25c8effdc344515c /include | |
parent | d1354633ba59924f118d8bae55d1a1e281629c23 (diff) | |
download | pttbbs-e755863dc764c11e2ee28daf05df6f53bf9be0f4.tar pttbbs-e755863dc764c11e2ee28daf05df6f53bf9be0f4.tar.gz pttbbs-e755863dc764c11e2ee28daf05df6f53bf9be0f4.tar.bz2 pttbbs-e755863dc764c11e2ee28daf05df6f53bf9be0f4.tar.lz pttbbs-e755863dc764c11e2ee28daf05df6f53bf9be0f4.tar.xz pttbbs-e755863dc764c11e2ee28daf05df6f53bf9be0f4.tar.zst pttbbs-e755863dc764c11e2ee28daf05df6f53bf9be0f4.zip |
- (internal) enable building utmpserver
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/cmsys.h | 2 | ||||
-rw-r--r-- | include/proto.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/cmsys.h b/include/cmsys.h index 10c9a928..42b0d032 100644 --- a/include/cmsys.h +++ b/include/cmsys.h @@ -71,6 +71,8 @@ extern int towrite(int fd, const void *buf, int len); /* sort.c */ extern int cmp_int(const void *a, const void *b); extern int cmp_int_desc(const void * a, const void * b); +extern int *intbsearch(int key, const int *base0, int nmemb); +extern unsigned int *uintbsearch(const unsigned int key, const unsigned int *base0, const int nmemb); /* string.h */ extern void str_lower(char *t, const char *s); diff --git a/include/proto.h b/include/proto.h index b46b8b0d..73734e50 100644 --- a/include/proto.h +++ b/include/proto.h @@ -605,9 +605,7 @@ void cursor_show(int row, int column); void printdash(const char *mesg, int msglen); int userid_is_BM(const char *userid, const char *list); int is_uBM(const char *list, const char *id); -inline int *intbsearch(int key, const int *base0, int nmemb); -inline unsigned int *uintbsearch(const unsigned int, const unsigned int *, const int); -int qsort_intcompar(const void *a, const void *b); +// int qsort_intcompar(const void *a, const void *b); #ifndef CRITICAL_MEMORY #define MALLOC(p) malloc(p) #define FREE(p) free(p) |