summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMoshe Zadka <moshez@math.huji.ac.il>2000-08-04 15:53:06 (GMT)
committerMoshe Zadka <moshez@math.huji.ac.il>2000-08-04 15:53:06 (GMT)
commit6a078edb0768d1304d285362384476f3ecf309ba (patch)
tree87d9c42908b28f1e9a71622ac3bb2419db1b6919 /Modules
parentcf703f04ad406d905d280a364048d56aa9d21315 (diff)
downloadcpython-6a078edb0768d1304d285362384476f3ecf309ba.zip
cpython-6a078edb0768d1304d285362384476f3ecf309ba.tar.gz
cpython-6a078edb0768d1304d285362384476f3ecf309ba.tar.bz2
Removing warnings discovered by gcc -Wall
Diffstat (limited to 'Modules')
-rw-r--r--Modules/audioop.c2
-rw-r--r--Modules/tkappinit.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/Modules/audioop.c b/Modules/audioop.c
index 8d25189..49cd8c9 100644
--- a/Modules/audioop.c
+++ b/Modules/audioop.c
@@ -87,7 +87,7 @@ static int ulaw_table[256] = {
120, 112, 104, 96, 88, 80, 72, 64,
56, 48, 40, 32, 24, 16, 8, 0 };
-/* #define ZEROTRAP /* turn on the trap as per the MIL-STD */
+/* #define ZEROTRAP */ /* turn on the trap as per the MIL-STD */
#define BIAS 0x84 /* define the add-in bias for 16 bit samples */
#define CLIP 32635
diff --git a/Modules/tkappinit.c b/Modules/tkappinit.c
index 5287446..c551fca 100644
--- a/Modules/tkappinit.c
+++ b/Modules/tkappinit.c
@@ -18,14 +18,14 @@
int
Tcl_AppInit(Tcl_Interp *interp)
{
- Tk_Window main;
+ Tk_Window main_window;
if (Tcl_Init (interp) == TCL_ERROR)
return TCL_ERROR;
if (Tk_Init (interp) == TCL_ERROR)
return TCL_ERROR;
- main = Tk_MainWindow(interp);
+ main_window = Tk_MainWindow(interp);
#ifdef WITH_MOREBUTTONS
{
@@ -33,9 +33,9 @@ Tcl_AppInit(Tcl_Interp *interp)
extern Tcl_CmdProc triButtonCmd;
Tcl_CreateCommand(interp, "studbutton", studButtonCmd,
- (ClientData) main, NULL);
+ (ClientData) main_window, NULL);
Tcl_CreateCommand(interp, "tributton", triButtonCmd,
- (ClientData) main, NULL);
+ (ClientData) main_window, NULL);
}
#endif