diff --git a/exec.c b/exec.c index ca1b3f7129c5a637..86d38969f5a19096 100644 --- a/exec.c +++ b/exec.c @@ -518,6 +518,7 @@ int AppendToTmpStr(psz) int AppendToTmpStr2(psz1, psz2, tg2) char *psz1, *psz2; + int tg2; { int len1=strlen(psz1), len2=strlen(psz2), rc=0; char *psz=(char*)malloc((len1+len2+1)*sizeof(char)); diff --git a/file.c b/file.c index 0ba028d09f74fd7d..f402645d49c33fe7 100644 --- a/file.c +++ b/file.c @@ -4725,6 +4725,7 @@ int LoadFile(FullName, ObjFile, GzippedObjFile) int ObjFile; /* equals TRUE if the file is an OBJ file */ /* equals FALSE if the file is a SYM or PIN file */ /* equals -1 if the file is an temporary OBJ file */ + int GzippedObjFile; { struct ObjRec *obj_ptr=NULL; char tmp_filename[MAXPATHLENGTH+1], tmp_filefullpath[MAXPATHLENGTH+1]; diff --git a/import.c b/import.c index ccfec061bd0f1826..e98da00547df2f33 100644 --- a/import.c +++ b/import.c @@ -1373,7 +1373,7 @@ int ConvertGifToPpm6(pszGifPath, pszPpm6Path, ppm6_path_sz) static int FinishImport(remote_file, remote_tmp_fname, local_fname, which, pn_image_w, pn_image_h) - int remote_file, *pn_image_w, *pn_image_h; + int remote_file, which, *pn_image_w, *pn_image_h; char *remote_tmp_fname, *local_fname; { char xpm_fname[MAXPATHLENGTH+1], *rest=NULL, *psz_format=NULL; diff --git a/polygon.c b/polygon.c index 5d0b47e53b834482..d204dfc05a53c82c 100644 --- a/polygon.c +++ b/polygon.c @@ -1007,7 +1007,7 @@ void ContinueForStructSplinePolygonControlPoints(OrigX, OrigY, LastX, LastY, static void EraseStructSplineLinesForContAndUpdateSvs(OrigX, OrigY, grid_x, grid_y, pev, num_pts, psv, sn, psv2, sn2, pipt_prev, pipt_first) - int OrigX, OrigY, grid_x, grid_y, sn, sn2; + int OrigX, OrigY, grid_x, grid_y, num_pts, sn, sn2; XEvent *pev; XPoint **psv, **psv2; IntPointTriplet *pipt_prev, *pipt_first; diff --git a/rect.c b/rect.c index b13a671682a0e07e..6b4c3395c064f532 100644 --- a/rect.c +++ b/rect.c @@ -37,7 +37,7 @@ void DumpRectPath(FP, LtX, LtY, RbX, RbY, Indent, LastLF) FILE *FP; - int LtX, LtY, RbX, RbY, Indent; + int LtX, LtY, RbX, RbY, Indent, LastLF; { register int i; diff --git a/ruler.c b/ruler.c index 1961ce3292c4f05e..5c183f9a52c415e0 100644 --- a/ruler.c +++ b/ruler.c @@ -510,6 +510,7 @@ void DrawHRuleTick(XOff) static void DrawVRuleTick(YOff) + int YOff; { XDrawLine(mainDisplay, vRuleWindow, revDefaultGC, 0, YOff, rulerLen, YOff); } diff --git a/scroll.c b/scroll.c index 6430aa5ff767ec46..81f3d424208e4913 100644 --- a/scroll.c +++ b/scroll.c @@ -153,7 +153,8 @@ int TgPressButtonLoop(dpy, win, pbbox, psbci) int TgGetScrollHit(x, y, orientation, scroll_area_w, scroll_area_h, start_frac, length, total, pn_btn_offset) - int x, y, scroll_area_w, scroll_area_h, length, total, *pn_btn_offset; + int x, y, orientation, scroll_area_w, scroll_area_h, length, total, + *pn_btn_offset; double start_frac; { int block_start=0, block_size=0, min_block_size=1+(windowPadding<<1); @@ -211,7 +212,7 @@ void TgDrawScrollBar(dpy, win, orientation, x_off, y_off, scroll_area_w, scroll_area_h, start_frac, length, total) Display *dpy; Window win; - int x_off, y_off, scroll_area_w, scroll_area_h, length, total; + int orientation, x_off, y_off, scroll_area_w, scroll_area_h, length, total; double start_frac; { int block_start=0, block_size=0, min_block_size=1+(windowPadding<<1); diff --git a/spline.c b/spline.c index 234c1e467ed25da5..d3a71607f27e1eac 100644 --- a/spline.c +++ b/spline.c @@ -795,7 +795,7 @@ typedef struct MultiSplineRec { } *MultiSplineRecPtr; XPoint *MakeMultiSplinePolyVertex(Curved, N, Smooth, XOff, YOff, NumVs, Vs) - int *N, XOff, YOff, NumVs; + int Curved, *N, XOff, YOff, NumVs; char *Smooth; IntPoint *Vs; { diff --git a/stretch.c b/stretch.c index 8ec1405457f5ebc2..6441a6ec0eac85c9 100644 --- a/stretch.c +++ b/stretch.c @@ -4247,7 +4247,7 @@ void SizeAnObj(ObjPtr, TopOwner, AbsW, AbsH) static void DoSizeAllSelToGivenWidthHeight(abs_w, abs_h, do_width, do_height) - int abs_h, do_width, do_height; + int abs_w, abs_h, do_width, do_height; { struct SelRec *saved_top_sel=topSel, *saved_bot_sel=botSel, *sel_ptr=NULL; int saved_h_align=horiAlign, saved_v_align=vertAlign, num_to_resize=0; diff --git a/tdgtbtn.c b/tdgtbtn.c index 496113a2290c2f88..23d961486c1dc70e 100644 --- a/tdgtbtn.c +++ b/tdgtbtn.c @@ -491,7 +491,7 @@ TdgtBtn *CreateTdgtBtn(parent_win, parent_tidgetinfo, ctl_id, x, y, w, h, h_pad, v_pad, btn_type, btn_style, state, font_style, str, pmosi) Window parent_win; TidgetInfo *parent_tidgetinfo; - int ctl_id, x, y, w, h, h_pad, v_pad, state, font_style; + int ctl_id, x, y, w, h, h_pad, v_pad, btn_type, btn_style, state, font_style; char *str; MouseOverStatusInfo *pmosi; { diff --git a/tdgtlist.c b/tdgtlist.c index edd835ac05310759..33663755476888a0 100644 --- a/tdgtlist.c +++ b/tdgtlist.c @@ -1039,7 +1039,8 @@ TdgtList *CreateTdgtList(parent_win, parent_tidgetinfo, ctl_id, x, y, w, h_pad, v_pad, num_visible_lines, can_select, multicolor, auto_scroll_on_insert) Window parent_win; TidgetInfo *parent_tidgetinfo; - int ctl_id, x, y, w, h_pad, v_pad, num_visible_lines, auto_scroll_on_insert; + int ctl_id, x, y, w, h_pad, v_pad, num_visible_lines, can_select, + multicolor, auto_scroll_on_insert; { int bg_pixel=(threeDLook ? myLtGryPixel : myBgPixel), h=0, content_h=0; TdgtList *pTdgtList=NULL; diff --git a/text.c b/text.c index 37749ac45a7c21f0..81abc87080cb16ed 100644 --- a/text.c +++ b/text.c @@ -2059,7 +2059,7 @@ void HandleClickOnText(drag, from_cursor_keys, x_off, y_off, pressed_in_same_text, obj_ptr, double_clicked, saved_text_highlight, skip_post_processing, click_time) int drag, from_cursor_keys, x_off, y_off, pressed_in_same_text; - int double_clicked, saved_text_highlight; + int double_clicked, saved_text_highlight, skip_post_processing; struct ObjRec *obj_ptr; Time click_time; { @@ -4760,7 +4760,7 @@ int ReadTextLines(FP, ObjPtr, text_ptr, color_str, num_lines, has_ps_bitmap, char *color_str; int num_lines, has_ps_bitmap, cur_sb_font, cur_db_font; int double_byte, db_mod_bytes, db_vertical, direction; - int x, baseline_y, *pn_max_len, *pn_max_h; + int x, baseline_y, text_w, *pn_max_len, *pn_max_h; /* * (Note: text_w is only used for fileVersion <= 36) */