CVS update: php3/dbase

From: Date: Mon, 21 Dec 1998 04:21:01 +0000
Subject: CVS update: php3/dbase
Groups: php.dev 
Request: Send a blank email to php-dev+get-2944@lists.php.net to get a copy of this message
Date: Sunday December 20, 1998 @ 23:21 Author: sas Update of /repository/php3/dbase In directory asf:/u/temp/cvs-serv26506/dbase Modified Files: dbf_ndx.c dbf_ndx.h Log Message: Oh, I hate warnings. Especially if I trigger them. -pedantic -Wall -Wmissing-prototypes -Wmissing-declarations If one ignores warnings about inline functions, PHP (almost) compiles quietly. Index: php3/dbase/dbf_ndx.c diff -c php3/dbase/dbf_ndx.c:1.1 php3/dbase/dbf_ndx.c:1.2 *** php3/dbase/dbf_ndx.c:1.1 Sat Sep 27 21:44:01 1997 --- php3/dbase/dbf_ndx.c Sun Dec 20 23:20:59 1998 *************** *** 44,50 **** return np; } ! ndx_page_t *ndx_get_page(ndx_header_t *hp, int pageno) { ndx_page_t *fp; dndx_page_t *dp; --- 44,50 ---- return np; } ! static ndx_page_t *ndx_get_page(ndx_header_t *hp, int pageno) { ndx_page_t *fp; dndx_page_t *dp; *************** *** 84,90 **** /* * get the first entry for this ndx */ ! ndx_page_t *ndx_get_first_pg(ndx_header_t *hp) { ndx_page_t *fp; --- 84,90 ---- /* * get the first entry for this ndx */ ! static ndx_page_t *ndx_get_first_pg(ndx_header_t *hp) { ndx_page_t *fp; *************** *** 96,102 **** return fp; } ! ndx_record_t *ndx_get_record(ndx_page_t *fp, int rec_no) { ndx_record_t *rp; ndx_header_t *hp = fp->ndxp_header_p; --- 96,102 ---- return fp; } ! static ndx_record_t *ndx_get_record(ndx_page_t *fp, int rec_no) { ndx_record_t *rp; ndx_header_t *hp = fp->ndxp_header_p; *************** *** 124,130 **** return rp; } ! ndx_record_t *ndx_scan_down(ndx_header_t *hp, ndx_page_t *fp, int recno) { ndx_page_t *np; ndx_record_t *rp; --- 124,130 ---- return rp; } ! static ndx_record_t *ndx_scan_down(ndx_header_t *hp, ndx_page_t *fp, int recno) { ndx_page_t *np; ndx_record_t *rp; *************** *** 139,145 **** return rp; } ! ndx_record_t *ndx_scan_up(ndx_header_t *hp, ndx_page_t *fp, int recno) { ndx_record_t *rp; --- 139,145 ---- return rp; } ! static ndx_record_t *ndx_scan_up(ndx_header_t *hp, ndx_page_t *fp, int recno) { ndx_record_t *rp; Index: php3/dbase/dbf_ndx.h diff -c php3/dbase/dbf_ndx.h:1.1 php3/dbase/dbf_ndx.h:1.2 *** php3/dbase/dbf_ndx.h:1.1 Sat Sep 27 21:44:01 1997 --- php3/dbase/dbf_ndx.h Sun Dec 20 23:21:00 1998 *************** *** 90,98 **** }; typedef struct ndx_page ndx_page_t; ! extern ndx_header_t *ndx_get_header(); ! extern ndx_record_t *ndx_get_first_rec(); ! extern ndx_record_t *ndx_get_next_rec(); #endif /* _DBF_NDX_H_ */ --- 90,98 ---- }; typedef struct ndx_page ndx_page_t; ! extern ndx_header_t *ndx_get_header(int); ! extern ndx_record_t *ndx_get_first_rec(ndx_header_t *); ! extern ndx_record_t *ndx_get_next_rec(ndx_header_t *, ndx_record_t *); #endif /* _DBF_NDX_H_ */ -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2944) next »