Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf280266

Browse files
committed
Clean up some minor compile warnings.
1 parent5212ef8 commitf280266

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

‎src/backend/port/inet_aton.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: inet_aton.c,v 1.15 1998/09/01 03:24:28 momjian Exp $
1+
/* $Id: inet_aton.c,v 1.16 1999/02/07 22:07:02 tgl Exp $
22
*
33
*This inet_aton() function was taken from the GNU C library and
44
*incorporated into Postgres for those systems which do not have this
@@ -42,6 +42,8 @@
4242
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
4343
* SUCH DAMAGE. */
4444

45+
#include"config.h"
46+
4547
#include<sys/types.h>
4648
#include<netinet/in.h>
4749
#include<ctype.h>

‎src/backend/port/random.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
/* $Id: random.c,v 1.5 1998/09/01 03:24:30 momjian Exp $ */
1+
/* $Id: random.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */
22

3+
#include<stdlib.h>
34
#include<math.h>/* for pow() prototype */
4-
55
#include<errno.h>
6+
7+
#include"config.h"
68
#include"rusagestub.h"
79

810
long

‎src/backend/port/srandom.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
/* $Id: srandom.c,v 1.5 1998/02/26 04:34:14 momjian Exp $ */
1+
/* $Id: srandom.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */
22

3+
#include<stdlib.h>
34
#include<math.h>/* for pow() prototype */
4-
55
#include<errno.h>
6+
7+
#include"config.h"
68
#include"rusagestub.h"
79

810
void

‎src/backend/utils/fmgr/dfmgr.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.21 1998/10/08 18:30:14 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.22 1999/02/07 22:06:01 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -277,7 +277,8 @@ load_file(char *filename)
277277
handle_load(filename, (char*)NULL);
278278
}
279279

280-
/* Is this used? bjm 1998/10/08 */
280+
/* Is this used? bjm 1998/10/08 No. tgl 1999/02/07 */
281+
#ifdefNOT_USED
281282
func_ptr
282283
trigger_dynamic(char*filename,char*funcname)
283284
{
@@ -287,3 +288,4 @@ trigger_dynamic(char *filename, char *funcname)
287288

288289
returntrigger_fn;
289290
}
291+
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp