Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
f93f7802
Commit
f93f7802
authored
Nov 26, 1996
by
Bryan Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-Werror fixes from D'Arcy.
parent
46c4e6f6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
23 deletions
+7
-23
src/bin/pgtclsh/pgtclAppInit.c
src/bin/pgtclsh/pgtclAppInit.c
+4
-11
src/bin/pgtclsh/pgtkAppInit.c
src/bin/pgtclsh/pgtkAppInit.c
+3
-12
No files found.
src/bin/pgtclsh/pgtclAppInit.c
View file @
f93f7802
...
@@ -11,11 +11,7 @@
...
@@ -11,11 +11,7 @@
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
*/
#ifndef lint
#include <tcl.h>
static
char
sccsid
[]
=
"@(#) tclAppInit.c 1.11 94/12/17 16:14:03"
;
#endif
/* not lint */
#include "tcl.h"
#include <libpgtcl.h>
#include <libpgtcl.h>
...
@@ -47,9 +43,7 @@ int *tclDummyMathPtr = (int *) matherr;
...
@@ -47,9 +43,7 @@ int *tclDummyMathPtr = (int *) matherr;
*/
*/
int
int
main
(
argc
,
argv
)
main
(
int
argc
,
char
**
argv
)
int
argc
;
/* Number of command-line arguments. */
char
**
argv
;
/* Values of command-line arguments. */
{
{
Tcl_Main
(
argc
,
argv
,
Tcl_AppInit
);
Tcl_Main
(
argc
,
argv
,
Tcl_AppInit
);
return
0
;
/* Needed only to prevent compiler warning. */
return
0
;
/* Needed only to prevent compiler warning. */
...
@@ -75,8 +69,7 @@ main(argc, argv)
...
@@ -75,8 +69,7 @@ main(argc, argv)
*/
*/
int
int
Tcl_AppInit
(
interp
)
Tcl_AppInit
(
Tcl_Interp
*
interp
)
Tcl_Interp
*
interp
;
/* Interpreter for application. */
{
{
if
(
Tcl_Init
(
interp
)
==
TCL_ERROR
)
{
if
(
Tcl_Init
(
interp
)
==
TCL_ERROR
)
{
return
TCL_ERROR
;
return
TCL_ERROR
;
...
@@ -93,7 +86,7 @@ Tcl_AppInit(interp)
...
@@ -93,7 +86,7 @@ Tcl_AppInit(interp)
* where "Mod" is the name of the module.
* where "Mod" is the name of the module.
*/
*/
if
(
Pg_Init
(
interp
)
==
TCL_ERROR
)
{
if
(
Pg
tcl
_Init
(
interp
)
==
TCL_ERROR
)
{
return
TCL_ERROR
;
return
TCL_ERROR
;
}
}
...
...
src/bin/pgtclsh/pgtkAppInit.c
View file @
f93f7802
...
@@ -11,10 +11,6 @@
...
@@ -11,10 +11,6 @@
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
*/
#ifndef lint
static
char
sccsid
[]
=
"@(#) tkAppInit.c 1.12 94/12/17 16:30:56"
;
#endif
/* not lint */
#include "tk.h"
#include "tk.h"
#include "libpgtcl.h"
#include "libpgtcl.h"
...
@@ -46,9 +42,7 @@ int *tclDummyMathPtr = (int *) matherr;
...
@@ -46,9 +42,7 @@ int *tclDummyMathPtr = (int *) matherr;
*/
*/
int
int
main
(
argc
,
argv
)
main
(
int
argc
,
char
**
argv
)
int
argc
;
/* Number of command-line arguments. */
char
**
argv
;
/* Values of command-line arguments. */
{
{
Tk_Main
(
argc
,
argv
,
Tcl_AppInit
);
Tk_Main
(
argc
,
argv
,
Tcl_AppInit
);
return
0
;
/* Needed only to prevent compiler warning. */
return
0
;
/* Needed only to prevent compiler warning. */
...
@@ -74,11 +68,8 @@ main(argc, argv)
...
@@ -74,11 +68,8 @@ main(argc, argv)
*/
*/
int
int
Tcl_AppInit
(
interp
)
Tcl_AppInit
(
Tcl_Interp
*
interp
)
Tcl_Interp
*
interp
;
/* Interpreter for application. */
{
{
Tk_Window
main
;
if
(
Tcl_Init
(
interp
)
==
TCL_ERROR
)
{
if
(
Tcl_Init
(
interp
)
==
TCL_ERROR
)
{
return
TCL_ERROR
;
return
TCL_ERROR
;
}
}
...
@@ -97,7 +88,7 @@ Tcl_AppInit(interp)
...
@@ -97,7 +88,7 @@ Tcl_AppInit(interp)
* where "Mod" is the name of the module.
* where "Mod" is the name of the module.
*/
*/
if
(
Pg_Init
(
interp
)
==
TCL_ERROR
)
{
if
(
Pg
tcl
_Init
(
interp
)
==
TCL_ERROR
)
{
return
TCL_ERROR
;
return
TCL_ERROR
;
}
}
/*
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment