>>> Building on exopi-1 under astro/xephem BDEPENDS = [devel/imake;devel/imake-cf;x11/motif] DIST = [astro/xephem:xephem-3.2.3.tar.gz] FULLPKGNAME = xephem-3.2.3p9 RDEPENDS = [x11/motif] (Junk lock obtained for exopi-1 at 1764630366.42) >>> Running depends in astro/xephem at 1764630366.46 last junk was in devel/py-rfc3986-validator /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 motif-2.3.8p2 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 motif-2.3.8p2 /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 motif-2.3.8p2 >>> Running show-prepare-results in astro/xephem at 1764630368.36 ===> astro/xephem ===> Building from scratch xephem-3.2.3p9 ===> xephem-3.2.3p9 depends on: imake-* -> imake-1.0.10 ===> xephem-3.2.3p9 depends on: imake-cf-* -> imake-cf-1.0.8 ===> xephem-3.2.3p9 depends on: motif-* -> motif-2.3.8p2 ===> Verifying specs: ICE SM X11 Xau Xdmcp Xext Xt c m Xm ===> found ICE.12.0 SM.9.0 X11.19.0 Xau.10.0 Xdmcp.11.0 Xext.13.0 Xt.11.1 c.102.2 m.10.1 Xm.6.1 imake-1.0.10 imake-cf-1.0.8 motif-2.3.8p2 Don't run junk because nojunk in devel/sdcc (Junk lock released for exopi-1 at 1764630369.26) distfiles size=1870234 >>> Running build in astro/xephem at 1764630369.29 ===> astro/xephem ===> Checking files for xephem-3.2.3p9 `/exopi-cvs/ports/distfiles/xephem-3.2.3.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for xephem-3.2.3p9 ===> Patching for xephem-3.2.3p9 ===> Applying OpenBSD patch patch-GUI_xephem_ps_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: GUI/xephem/ps.c |--- GUI/xephem/ps.c.orig |+++ GUI/xephem/ps.c -------------------------- Patching file GUI/xephem/ps.c using Plan A... Hunk #1 succeeded at 1693. done ===> Applying OpenBSD patch patch-GUI_xephem_xephem_man Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |make this indexable | |Index: GUI/xephem/xephem.man |--- GUI/xephem/xephem.man.orig |+++ GUI/xephem/xephem.man -------------------------- Patching file GUI/xephem/xephem.man using Plan A... Hunk #1 succeeded at 1. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for xephem-3.2.3p9 ===> Configuring for xephem-3.2.3p9 imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- atlas.c bdl.c broadcast.c calmenu.c closemenu.c compiler.c constel.c datamenu.c db.c dbmenu.c earthmap.c earthmenu.c explodegif.c fallbacks.c fits.c formats.c fsmenu.c gsc.c gscnet.c helpmenu.c homeio.c jupmenu.c listmenu.c mainmenu.c marsmenu.c marsmmenu.c moonmenu.c moonnf.c msgmenu.c netmenu.c objmenu.c patchlevel.c plot_aux.c plotmenu.c ppm.c preferences.c progress.c ps.c query.c rotated.c satmenu.c sites.c skyfiltmenu.c skyfits.c skyhist.c skylist.c skyviewmenu.c solsysmenu.c srchmenu.c time.c tips.c trailmenu.c uranusmenu.c usno.c versionmenu.c wcs.c xephem.c xmisc.c > .depend ===> Building for xephem-3.2.3p9 cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c aa_hadec.c aa_hadec.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | aa_hadec (lat, alt, az, ha, dec) | ^ aa_hadec.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | hadec_aa (lat, ha, dec, alt, az) | ^ aa_hadec.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | aaha_aux (lat, x, y, p, q) | ^ 3 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c aberration.c aberration.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | ab_ecl (mjd, lsn, lam, bet) | ^ aberration.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | ab_eq (mjd, lsn, ra, dec) | ^ aberration.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | ab_aux (mjd, x, y, lsn, mode) | ^ 3 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c anomaly.c anomaly.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | anomaly (ma, s, nu, ea) | ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c ap_as.c ap_as.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | ap_as (np, Mjd, rap, decp) | ^ ap_as.c:24:2: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | memcpy ((void *)&n, (void *)np, sizeof(Now)); | ^ ap_as.c:24:2: note: include the header or explicitly provide a declaration for 'memcpy' ap_as.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | as_ap (np, Mjd, rap, decp) | ^ 3 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c auxil.c auxil.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | pref_get (p) | ^ auxil.c:27:45: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | default: printf ("Unknown pref: %d\n", p); exit(1); | ^ auxil.c:27:45: note: include the header or explicitly provide a declaration for 'exit' auxil.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | mm_mjed (np) | ^ 3 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c chap95.c chap95.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | chap95 (mjd, obj, prec, ret) | ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c chap95_data.c cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c circum.c circum.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | obj_cir (np, op) | ^ circum.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | obj_planet (np, op) | ^ circum.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | obj_fixed (np, op) | ^ circum.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | obj_elliptical (np, op) | ^ circum.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | obj_hyperbolic (np, op) | ^ circum.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | obj_parabolic (np, op) | ^ circum.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | sun_cir (np, op) | ^ circum.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | moon_cir (np, op) | ^ circum.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | cir_sky (np, lpd, psi, rp, rho, lam, bet, lsn, rsn, op) | ^ circum.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | cir_pos (np, bet, lam, rho, op) | ^ circum.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | elongation (lam, bet, lsn, el) | ^ circum.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | deflect (mjd1, lpd, psi, lsn, rsn, rho, ra, dec) | ^ 12 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c comet.c comet.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | comet (mjd, ep, inc, ap, qp, om, lpd, psi, rp, rho, lam, bet) | ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c dbfmt.c dbfmt.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | db_crack_line (s, op, whynot) | ^ dbfmt.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | db_write_line (op, lp) | ^ dbfmt.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | db_set_field (bp, id, pref, op) | ^ dbfmt.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | get_fields (s, delim, fields) | ^ dbfmt.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | db_chk_planet (name, op) | ^ dbfmt.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | line_candidate (buf) | ^ dbfmt.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | crack_year (bp, pref, p) | ^ dbfmt.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | db_get_field (op, id, bp) | ^ 8 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c deltat.c deltat.c:154:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | double deltat(mjd) | ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c earthsat.c earthsat.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | obj_earthsat (np, op) | ^ earthsat.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | GetSatelliteParams(op) | ^ earthsat.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | GetSiteParams(np) | ^ earthsat.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | esat_main (CrntTime, op) | ^ earthsat.c:420:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | double Kepler(MeanAnomaly,Eccentricity) | ^ earthsat.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | GetSubSatPoint(SatX,SatY,SatZ,T,Latitude,Longitude,Height) | ^ earthsat.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | GetPrecession(SemiMajorAxis,Eccentricity,Inclination, | ^ earthsat.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | GetSatPosition(EpochTime,EpochRAAN,EpochArgPerigee,SemiMajorAxis, | ^ earthsat.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | GetSitPosition(SiteLat,SiteLong,SiteElevation,CrntTime, | ^ earthsat.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | GetRange(SiteX,SiteY,SiteZ,SiteVX,SiteVY, | ^ earthsat.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | GetTopocentric(SatX,SatY,SatZ,SiteX,SiteY,SiteZ,SiteMatrix,X,Y,Z) | ^ earthsat.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | GetBearings(SatX,SatY,SatZ,SiteX,SiteY,SiteZ,SiteMatrix,Azimuth,Elevation) | ^ earthsat.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | Eclipsed(SatX,SatY,SatZ,SatRadius,CrntTime) | ^ earthsat.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | InitOrbitRoutines(EpochDay, AtEod) | ^ 14 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c eq_ecl.c eq_ecl.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | eq_ecl (mjd, ra, dec, lat, lng) | ^ eq_ecl.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | ecl_eq (mjd, lat, lng, ra, dec) | ^ eq_ecl.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | ecleq_aux (sw, mjd, x, y, p, q) | ^ 3 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c eq_gal.c eq_gal.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | eq_gal (mjd, ra, dec, lat, lng) | ^ eq_gal.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | gal_eq (mjd, lat, lng, ra, dec) | ^ eq_gal.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | galeq_aux (sw, x, y, p, q) | ^ 3 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c formats.c formats.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | fs_sexa (out, a, w, fracbase) | ^ formats.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | fs_date (out, jd) | ^ formats.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | f_scansex (o, bp, np) | ^ formats.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | f_sscandate (bp, pref, m, d, y) | ^ formats.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | scansex (str, dp) | ^ 5 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c helio.c helio.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | heliocorr (jd, ra, dec, hcp) | ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c libration.c libration.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | mods3600 (x) | ^ libration.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | sscc (k, arg, n) | ^ libration.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | dargs (J, plan) | ^ libration.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | gplan (J, plan) | ^ libration.c:2210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2210 | llibration (JD, llatp, llonp) | ^ 5 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c misc.c misc.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | zero_mem (loc, len) | ^ misc.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | tickmarks (min, max, numdiv, ticks) | ^ misc.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | obj_description (op) | ^ misc.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | now_lst (np, lstp) | ^ misc.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | radec2ha (np, ra, dec, hap) | ^ misc.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | lc (cx, cy, cw, x1, y1, x2, y2, sx1, sy1, sx2, sy2) | ^ misc.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | hg_mag (h, g, rp, rho, rsn, mp) | ^ misc.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | magdiam (fmag, magstp, scale, mag, size) | ^ misc.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | gk_mag (g, k, rp, rho, mp) | ^ misc.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | atod (buf) | ^ misc.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | solve_sphere (A, b, cc, sc, cap, Bp) | ^ misc.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | delra (dra) | ^ misc.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | is_deepsky (op) | ^ 13 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c mjd.c mjd.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | cal_mjd (mn, dy, yr, mjd) | ^ mjd.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | mjd_cal (mjd, mn, dy, yr) | ^ mjd.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | mjd_dow (mjd, dow) | ^ mjd.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | mjd_dpm (mjd, ndays) | ^ mjd.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | mjd_year (mjd, yr) | ^ mjd.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | year_mjd (y, mjd) | ^ mjd.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | rnd_second (t) | ^ mjd.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | mjd_day(jd) | ^ mjd.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | mjd_hr(jd) | ^ mjd.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | range (v, r) | ^ 10 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c moon.c moon.c:2834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2834 | mods3600(x) | ^ moon.c:2850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2850 | mean_elements (JED) | ^ moon.c:3010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3010 | sscc (k, arg, n) | ^ moon.c:3042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3042 | g2plan (J, plan, pobj, flag) | ^ moon.c:3170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3170 | g1plan (J, plan) | ^ moon.c:3273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3273 | gecmoon (J, lrtab, lattab, pobj) | ^ moon.c:3311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3311 | moon_fast (mjd, lam, bet, hp, msp, mdp) | ^ moon.c:3458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3458 | moon (mjd, lam, bet, rho, msp, mdp) | ^ 8 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c mooncolong.c mooncolong.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | moon_colong (jd, lt, lg, cp, kp, ap, sp) | ^ mooncolong.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | Librations (RAD, LAMH, BH, OM, F, L, L1, L0, B0) | ^ mooncolong.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | Moon (RAD, T, T2, LAM0, R, M, F, L1, OM, LAM, B, DR, LAMH, BH) | ^ mooncolong.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Sun (RAD, T, T2, L, M, R, LAM0) | ^ 4 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c nutation.c nutation.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | nutation (mjd, deps, dpsi) | ^ nutation.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | nut_eq (mjd, ra, dec) | ^ 2 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c obliq.c obliq.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | obliquity (mjd, eps) | ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c parallax.c parallax.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | ta_par (tha, tdec, phi, ht, rho, aha, adec) | ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c plans.c plans.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | chap_trans (mjd, ret) | ^ plans.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | pluto_ell (mjd, ret) | ^ plans.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | planpos (mjd, obj, prec, ret) | ^ plans.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | plans (mjd, p, lpd0, psi0, rp0, rho0, lam, bet, dia, mag) | ^ 4 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c precess.c precess.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | precess (mjd1, mjd2, ra, dec) | ^ precess.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | precess_hiprec (mjd1, mjd2, ra, dec) | ^ 2 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c reduce.c reduce.c:9:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | reduce_elements (mjd0, mjd, inc0, ap0, om0, inc, ap, om) | ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c refract.c refract.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | unrefract (pr, tr, aa, ta) | ^ refract.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | unrefractGE15 (pr, tr, aa, ta) | ^ refract.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | unrefractLT15 (pr, tr, aa, ta) | ^ refract.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | refract (pr, tr, ta, aa) | ^ 4 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c riset.c riset.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | riset (ra, dec, lat, dis, lstr, lsts, azr, azs, status) | ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c riset_cir.c riset_cir.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | riset_cir (np, op, dis, rp) | ^ riset_cir.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | twilight_cir (np, dis, dawn, dusk, status) | ^ riset_cir.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | e_riset_cir (np, op, dis, rp) | ^ riset_cir.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | find_0alt (dt, dis, np, op) | ^ riset_cir.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | find_transit (dt, np, op) | ^ riset_cir.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | find_max (np, op, tr, ts, tp, alp) | ^ 6 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c sphcart.c sphcart.c:7:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | sphcart (l, b, r, x, y, z) | ^ sphcart.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | cartsph (x, y, z, l, b, r) | ^ 2 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c sun.c sun.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | sunpos (mjd, lsn, rsn, bsn) | ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c utc_gst.c utc_gst.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | utc_gst (mjd, utc, gst) | ^ utc_gst.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | gst_utc (mjd, gst, utc) | ^ utc_gst.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | gmst0 (mjd) | ^ 3 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c vsop87.c vsop87.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | vsop87 (mjd, obj, prec, ret) | ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c vsop87_data.c rm -f libastro.a ar clq libastro.a aa_hadec.o aberration.o anomaly.o ap_as.o auxil.o chap95.o chap95_data.o circum.o comet.o dbfmt.o deltat.o earthsat.o eq_ecl.o eq_gal.o formats.o helio.o libration.o misc.o mjd.o moon.o mooncolong.o nutation.o obliq.o parallax.o plans.o precess.o reduce.o refract.o riset.o riset_cir.o sphcart.o sun.o utc_gst.o vsop87.o vsop87_data.o ranlib libastro.a cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c atlas.c atlas.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | msa_atlas(ra, dec) | ^ atlas.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | um_atlas(ra, dec) | ^ 2 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c bdl.c bdl.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | read_bdl (fp, jd, xp, yp, zp, ynot) | ^ bdl.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | readField (fp, f, width, ptr, ynot) | ^ bdl.c:133:6: warning: address of array 'buf' will always evaluate to 'true' [-Wpointer-bool-conversion] 133 | if (buf && width != fread (buf, 1, width, fp)) { | ^~~ ~~ bdl.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | readRec (fp, t0, cmx, cfx, cmy, cfy, cmz, cfz, ynot) | ^ 4 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c broadcast.c broadcast.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | watch_cursor(want) | ^ broadcast.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | all_update(np, how_much) | ^ broadcast.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | all_newobj(dbidx) | ^ broadcast.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | all_newdb(appended) | ^ broadcast.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | all_selection_mode(whether) | ^ broadcast.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | register_selection (name) | ^ broadcast.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | field_log (w, value, logv, str) | ^ 7 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c calmenu.c calmenu.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | calm_create (parent) | ^ calmenu.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | calm_set (np) | ^ calmenu.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | today_cb (w, client, call) | ^ calmenu.c:392:16: warning: cast to smaller integer type 'TodayCuts' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 392 | TodayCuts c = (TodayCuts)client; | ^~~~~~~~~~~~~~~~~ calmenu.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | date_changed_cb (w, client, call) | ^ calmenu.c:452:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 452 | int code = (int)client; | ^~~~~~~~~~~ calmenu.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | mm_nfmoon (jd, tzone, m, f) | ^ 7 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c closemenu.c closemenu.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | c_update (np, force) | ^ closemenu.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | c_cursor (c) | ^ closemenu.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | c_help_cb (w, client, call) | ^ closemenu.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | c_helpon_cb (w, client, call) | ^ closemenu.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | c_flist_cb (w, client, call) | ^ closemenu.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | c_unmap_cb (w, client, call) | ^ closemenu.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | c_close_cb (w, client, call) | ^ closemenu.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | c_actlist_cb (w, client, call) | ^ closemenu.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | c_skypoint_cb (w, client, call) | ^ closemenu.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | c_go_cb (w, client, call) | ^ closemenu.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | racmp_f (v1, v2) | ^ closemenu.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | get_options (sp, mp, wp) | ^ closemenu.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | free_band (bp, nb) | ^ closemenu.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | init_bands (sep, mag, bpp) | ^ closemenu.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | add_obj (bp, op) | ^ closemenu.c:862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | find_close (bp, nb, maxsep, wander, ppp) | ^ closemenu.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | add_pair (op1, op2, sep, ppp, mp, np) | ^ closemenu.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | pair_cmpf (v1, v2) | ^ closemenu.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | dspl_pairs (pp, np, sep) | ^ closemenu.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | c_flistok_cb (w, client, call) | ^ closemenu.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | make_flist (name, how) | ^ closemenu.c:1219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | write_flist (fp) | ^ 22 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c compiler.c compiler.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | compile_expr (ex, errbuf) | ^ compiler.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | execute_expr (vp, errbuf) | ^ compiler.c:200:14: warning: address of array 'vp->v_name' will always evaluate to 'true' [-Wpointer-bool-conversion] 200 | if (vp->v_name && strcmp (vp->v_name, name) == 0) | ~~~~^~~~~~ ~~ compiler.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | compiler_log (name, value) | ^ compiler.c:239:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 239 | else { (void) sprintf (err_msg, badop); return (ERR); } | ^~~~~ compiler.c:239:38: note: treat the string as an argument to avoid this 239 | else { (void) sprintf (err_msg, badop); return (ERR); } | ^ | "%s", compiler.c:243:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 243 | else { (void) sprintf (err_msg, badop); return (ERR); } | ^~~~~ compiler.c:243:38: note: treat the string as an argument to avoid this 243 | else { (void) sprintf (err_msg, badop); return (ERR); } | ^ | "%s", compiler.c:247:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 247 | else { (void) sprintf (err_msg, badop); return (ERR); } | ^~~~~ compiler.c:247:38: note: treat the string as an argument to avoid this 247 | else { (void) sprintf (err_msg, badop); return (ERR); } | ^ | "%s", compiler.c:251:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 251 | else { (void) sprintf (err_msg, badop); return (ERR); } | ^~~~~ compiler.c:251:38: note: treat the string as an argument to avoid this 251 | else { (void) sprintf (err_msg, badop); return (ERR); } | ^ | "%s", compiler.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | compile (prec) | ^ compiler.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | execute(result) | ^ compiler.c:564:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 563 | (void) sprintf (err_msg, "Bug! stack has %d items", | ~~ | %ld 564 | MAX_STACK - (sp-stack)); | ^~~~~~~~~~~~~~~~~~~~~~ compiler.c:86:19: note: expanded from macro 'MAX_STACK' 86 | #define MAX_STACK 16 | ^ compiler.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | parse_fieldname (name, len) | ^ 12 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c constel.c constel.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | cns_pick(r, d, e) | ^ constel.c:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | cns_name (id) | ^ constel.c:1588:50: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1588 | printf ("cns_edges(): n=%d NEDGES=%d\n", n, NEDGES); | ~~ ^~~~~~ | %lu constel.c:1522:16: note: expanded from macro 'NEDGES' 1522 | #define NEDGES (NRA+NDEC) | ^~~~~~~~~~ constel.c:1515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1515 | cns_edges (e, ra0p, dec0p, ra1p, dec1p) | ^ constel.c:1608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | cns_list (ra, dec, e, rad, ids) | ^ constel.c:3112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3112 | cns_figure (id, e, ra, dec, dcodes) | ^ 6 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c datamenu.c datamenu.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | dm_newobj(dbidx) | ^ datamenu.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | dm_update (np, how_much) | ^ datamenu.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | dm_selection_mode (whether) | ^ datamenu.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | dm_riset (np, op, rsp) | ^ datamenu.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | dm_cursor (c) | ^ datamenu.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | dm_set_buttons (whether) | ^ datamenu.c:665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | dm_create_table(parent) | ^ datamenu.c:736:6: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 736 | (XtPointer)((c<<8)|r)); | ^~~~~~~~~~~~~~~~~~~~~ datamenu.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | dm_activate_cb (w, client, call) | ^ datamenu.c:758:14: warning: cast to smaller integer type 'unsigned int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 758 | int r = (unsigned)client & 0xff; | ^~~~~~~~~~~~~~~~ datamenu.c:759:14: warning: cast to smaller integer type 'unsigned int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 759 | int c = (unsigned)client >> 8; | ^~~~~~~~~~~~~~~~ datamenu.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | dm_unmap_cb (w, client, call) | ^ datamenu.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | dm_close_cb (w, client, call) | ^ datamenu.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | dm_setup_cb (w, client, call) | ^ datamenu.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | dm_help_cb (w, client, call) | ^ datamenu.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | dm_compute (r, force, np) | ^ datamenu.c:895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | dm_format (np, op, rp, c, w) | ^ datamenu.c:1184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | dm_showtim (np, w, t) | ^ datamenu.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | dm_rs_hrsup (np, op, w, rp) | ^ datamenu.c:1249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | show_constellation (np, op, w) | ^ datamenu.c:1265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | dm_separation (p, q, w) | ^ datamenu.c:1285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | ds_create_selection(parent) | ^ datamenu.c:1742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1742 | ds_setup_col_selections(type) | ^ datamenu.c:1837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | ds_ctl_cb (w, client, call) | ^ datamenu.c:1842:15: warning: cast to smaller integer type 'DSCtrls' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 1842 | DSCtrls id = (DSCtrls) client; | ^~~~~~~~~~~~~~~~ datamenu.c:1879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1879 | ds_row_toggle_cb (w, client, call) | ^ datamenu.c:1898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | ds_col_toggle_cb (w, client, call) | ^ datamenu.c:1903:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1903 | int what = (int)client; | ^~~~~~~~~~~ datamenu.c:1919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1919 | ds_row_all_cb (w, client, call) | ^ datamenu.c:1937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1937 | ds_col_all_cb (w, client, call) | ^ datamenu.c:1942:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1942 | int what = (int)client; | ^~~~~~~~~~~ datamenu.c:1957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1957 | ds_row_reset_cb (w, client, call) | ^ datamenu.c:1969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1969 | ds_col_reset_cb (w, client, call) | ^ datamenu.c:1974:26: warning: cast to smaller integer type 'ColType' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 1974 | ds_setup_col_selections((ColType)client); | ^~~~~~~~~~~~~~~ datamenu.c:2005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2005 | dm_flistok_cb (w, client, call) | ^ datamenu.c:2055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2055 | make_flist (name, how) | ^ datamenu.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | dm_flist_cb (w, client, call) | ^ datamenu.c:2091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2091 | dm_list_tofile(fp) | ^ datamenu.c:2104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2104 | dm_list_get (buf) | ^ 39 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c db.c db.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | db_basic(id) | ^ db.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | db_setuserobj(id, op) | ^ db.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | db_scaninit (sp, mask, op, nop) | ^ db.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | db_scan (sp) | ^ db.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | db_update(op) | ^ db.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | name_cmpf (s1, s2) | ^ db.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | chk_name (name, names, nnames) | ^ db.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | db_read (fp, nodups) | ^ db.c:566:19: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | (void) close (db_fifofd); | ^ db.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | db_add (newop) | ^ db.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | db_free (dmp) | ^ db.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | dbfifo_cb (client, fdp, idp) | ^ db.c:723:12: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | nr = read (db_fifofd, buf+npartial, sizeof(buf)-npartial); | ^ db.c:776:19: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | (void) close (db_fifofd); | ^ 14 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c dbmenu.c dbmenu.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | db_newdb (appended) | ^ dbmenu.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | db_newobj (id) | ^ dbmenu.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | db_cursor (c) | ^ dbmenu.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | initFSB (fsb_w) | ^ dbmenu.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | sharedDirCB (w, client, call) | ^ dbmenu.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | privateDirCB (w, client, call) | ^ dbmenu.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | initPubShared (rc_w, fsb_w) | ^ dbmenu.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | fileopen (name) | ^ dbmenu.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | db_append_cb (w, client, data) | ^ dbmenu.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | db_del_cp_cb (w, client, data) | ^ dbmenu.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | db_set_cp_cb (w, client, data) | ^ dbmenu.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | db_clr_cp_cb (w, client, data) | ^ dbmenu.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | db_del_all_cb (w, client, data) | ^ dbmenu.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | db_openfifo_cb (w, client, data) | ^ dbmenu.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | db_help_cb (w, client, data) | ^ dbmenu.c:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | db_helpon_cb (w, client, call) | ^ dbmenu.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | db_close_cb (w, client, data) | ^ 17 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c earthmap.c cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c earthmenu.c earthmenu.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | e_update(np, force) | ^ earthmenu.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | e_newobj (dbidx) | ^ earthmenu.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | e_selection_mode (whether) | ^ earthmenu.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | e_cursor(c) | ^ earthmenu.c:598:11: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 598 | (XtPointer)bip->client); | ^~~~~~~~~~~~~~~~~~~~~~ earthmenu.c:701:11: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 701 | (XtPointer)bip->client); | ^~~~~~~~~~~~~~~~~~~~~~ earthmenu.c:760:11: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 760 | (XtPointer)bip->client); | ^~~~~~~~~~~~~~~~~~~~~~ earthmenu.c:789:9: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 789 | (XtPointer)i); | ^~~~~~~~~~~~ earthmenu.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | e_stat_cb (w, client, call) | ^ earthmenu.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | e_unmap_cb (w, client, call) | ^ earthmenu.c:1088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | e_close_cb (w, client, call) | ^ earthmenu.c:1100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | e_estats_cb (w, client, call) | ^ earthmenu.c:1116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1116 | e_movie_cb (w, client, call) | ^ earthmenu.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | e_set_buttons (whether) | ^ earthmenu.c:1196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | e_help_cb (w, client, call) | ^ earthmenu.c:1214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | e_helpon_cb (w, client, call) | ^ earthmenu.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | e_print_cb (w, client, call) | ^ earthmenu.c:1283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1283 | e_ps_annotate (np) | ^ earthmenu.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | e_ps_ll (tag, lt, lg, x, y) | ^ earthmenu.c:1398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | e_exp_cb (w, client, call) | ^ earthmenu.c:1471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1471 | e_motion_cb (w, client, ev, continue_to_dispatch) | ^ earthmenu.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | e_obj_cb (w, client, call) | ^ earthmenu.c:1545:10: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1545 | dbidx = (int)client; | ^~~~~~~~~~~ earthmenu.c:1569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | e_objing_cb (w, client, call) | ^ earthmenu.c:1603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | e_tb_cb (wid, client, call) | ^ earthmenu.c:1610:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1610 | int want = (int) client; | ^~~~~~~~~~~~ earthmenu.c:1699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | e_trail_cb (wid, client, call) | ^ earthmenu.c:1705:17: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1705 | e_mktrail, (XtPointer)object_dbidx); | ^~~~~~~~~~~~~~~~~~~~~~~ earthmenu.c:1712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1712 | e_wxreload_cb (w, client, call) | ^ earthmenu.c:1726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1726 | e_proj_cb (w, client, call) | ^ earthmenu.c:1731:17: warning: cast to smaller integer type 'Proj' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 1731 | Proj newproj = (Proj)client; | ^~~~~~~~~~~~ earthmenu.c:1837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | e_setmain_cb (w, client, call) | ^ earthmenu.c:1842:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1842 | int which = (int)client; | ^~~~~~~~~~~ earthmenu.c:1867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1867 | e_latlong_cb (w, client, call) | ^ earthmenu.c:1898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | e_point_cb (w, client, call) | ^ earthmenu.c:1916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1916 | e_init_gcs (dsp, win) | ^ earthmenu.c:2015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2015 | e_popup (wid, ev, r, xb, yb, x, y) | ^ earthmenu.c:2322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2322 | e_track_latlng (w, ev, r, xb, yb, x, y) | ^ earthmenu.c:2424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2424 | e_setelatlng (lt, lg) | ^ earthmenu.c:2441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2441 | e_subobject(np, op, latp, longp) | ^ earthmenu.c:2559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2559 | e_coord (r, wb, hb, pl, pL, xp, yp) | ^ earthmenu.c:2611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | e_drawfootprint (r, wb, hb, slat, slng, el) | ^ earthmenu.c:2634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2634 | e_drawcircle (r, wb, hb, slat, slng, rad) | ^ earthmenu.c:2669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2669 | e_drawcross (r, wb, hb, lt, lg, style) | ^ earthmenu.c:2752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2752 | e_drawgrid (r, wb, hb) | ^ earthmenu.c:2796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2796 | e_uncoord (proj, r, xb, yb, x, y, ltp, lgp) | ^ earthmenu.c:2863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2863 | e_all (np) | ^ earthmenu.c:2918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2918 | e_getcircle (wp, hp, rp, xbp, ybp) | ^ earthmenu.c:2952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2952 | e_map (np) | ^ earthmenu.c:3019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3019 | e_sunlit (np, r, wb, hb) | ^ earthmenu.c:3039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3039 | e_msunlit (np, r, wb, hb) | ^ earthmenu.c:3120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3120 | e_ssunlit (np, r, wb, hb) | ^ earthmenu.c:3194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3194 | e_drawcontinents (r, wb, hb) | ^ earthmenu.c:3240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3240 | e_drawsites (r, wb, hb) | ^ earthmenu.c:3279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3279 | e_drawtrail (r, wb, hb) | ^ earthmenu.c:3359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3359 | e_drawobject (r, wb, hb) | ^ earthmenu.c:3378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3378 | add_to_polyline (xp, xpsize, i, vis, nxp, max, w, x, y) | ^ earthmenu.c:3473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3473 | e_mainmenuloc (np, r, wb, hb) | ^ earthmenu.c:3530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3530 | e_soleclipse (np, r, wb, hb) | ^ earthmenu.c:3609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3609 | e_viewrad (height, alt, radp) | ^ earthmenu.c:3625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3625 | e_resettrail(np, discard) | ^ earthmenu.c:3662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3662 | e_mktrail (ts, statep, client) | ^ earthmenu.c:3755:16: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3755 | nrawgif = read (fd, rawgif, sizeof(rawgif)); | ^ earthmenu.c:3756:12: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3756 | close (fd); | ^ earthmenu.c:3790:9: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3790 | close (fd); | ^ earthmenu.c:3807:13: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3807 | close (fd); | ^ earthmenu.c:3815:12: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3815 | close (fd); | ^ earthmenu.c:3863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3863 | e_create_xim (w, h) | ^ earthmenu.c:3916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3916 | e_issunlit (np, l, L) | ^ earthmenu.c:3938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3938 | e_wxisgray (p) | ^ earthmenu.c:4005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4005 | e_setupwxpm (reload, rebuild) | ^ earthmenu.c:4038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4038 | mollweide_llxy (l, L, xp, yp) | ^ earthmenu.c:4057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4057 | mollweide_xyll (x, y, lp, Lp) | ^ 73 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c explodegif.c explodegif.c:125:14: warning: passing arguments to 'LoadGIF' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | if (LoadGIF (&pi) != 1) | ^ explodegif.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | explodeGIF (raw, nraw, wp, hp, pixap, ra, ga, ba, errmsg) | ^ explodegif.c:158:21: warning: passing arguments to 'gifError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | return( gifError(pinfo, "not enough memory to read gif file") ); | ^ explodegif.c:164:27: warning: passing arguments to 'gifError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | else return( gifError(pinfo, "not a GIF file")); | ^ explodegif.c:186:32: warning: passing arguments to 'gifError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | if (!gif89) return(gifError(pinfo,"corrupt GIF file (screen descriptor)")); | ^ explodegif.c:369:25: warning: passing arguments to 'readImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | else if (readImage(pinfo)) gotimage = 1; | ^ explodegif.c:383:10: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 382 | sprintf(str, "Unknown block type (0x%02x) at offset 0x%x", | ~~ | %lx 383 | block, (dataptr - origptr) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~ explodegif.c:385:32: warning: passing arguments to 'gifError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | if (!gotimage) return gifError(pinfo, str); | ^ explodegif.c:386:23: warning: passing arguments to 'gifError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | else return( gifError(pinfo, str)); | ^ explodegif.c:396:22: warning: passing arguments to 'gifError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | return( gifError(pinfo, "no image data found in GIF file") ); | ^ explodegif.c:138:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | static int LoadGIF(pinfo) | ^ explodegif.c:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | static int LoadGIF(); | ^ explodegif.c:436:22: warning: passing arguments to 'gifError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | return (gifError (pinfo, "No colormap in this GIF file.")); | ^ explodegif.c:483:30: warning: passing arguments to 'gifError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | if (!pic8) return( gifError(pinfo, "couldn't malloc 'pic8'") ); | ^ explodegif.c:505:26: warning: passing arguments to 'DoInterlace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | else DoInterlace(FinChar); | ^ explodegif.c:554:64: warning: passing arguments to 'DoInterlace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | else for (i=OutCount-1; i>=0; i--) DoInterlace(OutCode[i]); | ^ explodegif.c:403:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | static int readImage(pinfo) | ^ explodegif.c:95:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static int readImage(); | ^ explodegif.c:621:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | static void DoInterlace(Index) | ^ explodegif.c:97:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static void DoInterlace(); | ^ explodegif.c:671:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | static int gifError(pinfo, st) | ^ explodegif.c:98:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static int gifError(); | ^ 22 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c fallbacks.c cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c fits.c fits.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | writeFITS (fd, fip, errmsg, restore) | ^ fits.c:88:16: warning: passing arguments to 'write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | n = write (fd, fip->image+nw, nbytes-nw); | ^ fits.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | readFITS (fd, fip, errmsg) | ^ fits.c:141:14: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | s= read (fd, fip->image + fip->nbytes, fip->totbytes - fip->nbytes); | ^ fits.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | readIncFITS (fd, fip, errmsg) | ^ fits.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | readFITSHeader (fd, fip, errmsg) | ^ fits.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | writeSimpleFITS (fd, pix, w, h, restore) | ^ fits.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | getNAXIS (fip, n1p, n2p, errmsg) | ^ fits.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | writeFITSHeader (fip, fd, errmsg) | ^ fits.c:405:13: warning: passing arguments to 'write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | nw = write (fd, hdr, nbytes); | ^ fits.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | initFImage (fip) | ^ fits.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | resetFImage (fip) | ^ fits.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | setSimpleFITSHeader (fip) | ^ fits.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | setLogicalFITS (fip, name, v, comment) | ^ fits.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | setIntFITS (fip, name, v, comment) | ^ fits.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | setRealFITS (fip, name, v, sigdig, comment) | ^ fits.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | setStringFITS (fip, name, string, comment) | ^ fits.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | setCommentFITS (fip, name, comment) | ^ fits.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | getLogicalFITS (fip, name, vp) | ^ fits.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | getIntFITS (fip, name, vp) | ^ fits.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | getRealFITS (fip, name, vp) | ^ fits.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | getCommentFITS (fip, name, buf) | ^ fits.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | getStringFITS (fip, name, string) | ^ fits.c:685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | findFImageVar (fip, name, rpp) | ^ fits.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | addFImageVar (fip, row) | ^ fits.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | delFImageVar (fip, name) | ^ fits.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | cpyFImageVar (fip1, fip2, name) | ^ fits.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | fmtLogicalFITS (line, name, value, comment) | ^ fits.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | fmtIntFITS (line, name, value, comment) | ^ fits.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | fmtRealFITS (line, name, value, sigdig, comment) | ^ fits.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | fmtStringFITS (line, name, value, comment) | ^ fits.c:874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | fmtENDFITS (line) | ^ fits.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | fmtInlineComment (line, comment) | ^ fits.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | enFITSPixels (fip) | ^ fits.c:928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | unFITSPixels (fip) | ^ 35 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c formats.c formats.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | f_showit (w, s) | ^ formats.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | f_sexa (wid, a, w, fracbase) | ^ formats.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | f_ra (w, ra) | ^ formats.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | fs_ra (out, ra) | ^ formats.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | f_prdec(w, a) | ^ formats.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | fs_prdec(out, a) | ^ formats.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | f_time (w, t) | ^ formats.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | fs_time (out, t) | ^ formats.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | f_mtime (w, t) | ^ formats.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | fs_mtime (out, t) | ^ formats.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | f_dm_angle(w, a) | ^ formats.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | fs_dm_angle(out, a) | ^ formats.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | f_pangle(w, a) | ^ formats.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | fs_pangle(out, a) | ^ formats.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | f_dms_angle(w, a) | ^ formats.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | fs_dms_angle(out, a) | ^ formats.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | f_date (w, jd) | ^ formats.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | f_string (w, s) | ^ formats.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | f_double (w, fmt, f) | ^ formats.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | fs_tz (buf, tzpref, np) | ^ formats.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | timestamp (np, w) | ^ 21 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c fsmenu.c fsmenu.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | fs_fetch (np, ra, dec, fov, mag, opp) | ^ fsmenu.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | fs_cursor (c) | ^ fsmenu.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | objfd_cmp (v1, v2) | ^ fsmenu.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | fs_nodbdups (fop, nfop, ra, dec, fov) | ^ fsmenu.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | scanchk (mop, op, cdec) | ^ fsmenu.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | test_cb (w, client, call) | ^ fsmenu.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | ok_cb (w, client, call) | ^ fsmenu.c:948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | cancel_cb (w, client, call) | ^ fsmenu.c:962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | gsctb_cb (w, client, call) | ^ fsmenu.c:968:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 968 | switch ((int)client) { | ^~~~~~~~~~~ fsmenu.c:988:35: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 988 | printf ("FS: bad client: %d\n", (int)client); | ^~~~~~~~~~~ fsmenu.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | pmtb_cb (w, client, call) | ^ fsmenu.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | help_cb (w, client, call) | ^ 13 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c gsc.c gsc.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | GSCSetup (cdp, chp, msg) | ^ gsc.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | GSCFetch (ra0, dec0, fov, fmag, spp, nspp, msg) | ^ gsc.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | handleRequest (qp, ap) | ^ gsc.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | fetchRegion (rp, qp, ap) | ^ gsc.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | inFOV (qp, ep) | ^ gsc.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | magOK (qp, ep) | ^ gsc.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | addOneStar (ap, rp, ep) | ^ gsc.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | mymkdir (path) | ^ gsc.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | gscPickRegion (ra, dec, rp) | ^ gsc.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | gscOpenRegion (rp) | ^ gsc.c:801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | gscSimpleFits (fp) | ^ gsc.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | gscOpenFile (rp, msg) | ^ gsc.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | gscGetNextEntry (rp, ep) | ^ gsc.c:909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | gscCloseRegion (rp) | ^ gsc.c:942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | cacheOpenRegion (rp, cp) | ^ gsc.c:991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | cacheGetNextEntry (rp, ep) | ^ gsc.c:1006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | cacheCloseRegion (rp) | ^ gsc.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | cacheCreateRegion (rp, cp) | ^ gsc.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | cacheAddEntry (rp, ep) | ^ gsc.c:1071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | cacheBuildFilename (fullpath, rp) | ^ gsc.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | cacheBuildDir (fullpath, rp) | ^ gsc.c:1092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | cacheReadHeader (rp) | ^ gsc.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | cacheWriteHeader (rp) | ^ gsc.c:1159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | cacheReadEntry (rp, ep) | ^ gsc.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | cacheWriteEntry (rp, ep) | ^ 25 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c gscnet.c gscnet.c:66:27: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 66 | (void) sprintf (host, "%.*s", h1p-h0p, h0p); | ~~^~ ~~~~~~~ gscnet.c:96:16: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | (void) close (sockfd); | ^ gscnet.c:105:15: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | (void) close (sockfd); | ^ gscnet.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | gscnetfetch (url, np, ra, dec, fov, mag, opp, nop, msg) | ^ gscnet.c:167:16: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | (void) close (sockfd); | ^ gscnet.c:186:15: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | (void) close (sockfd); | ^ gscnet.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | gscesofetch (np, ra, dec, fov, mag, opp, nop, msg) | ^ gscnet.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | moreObjF (opp, nop, nnew) | ^ 8 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c helpmenu.c helpmenu.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | hlp_dialog (tag, deflt, ndeflt) | ^ helpmenu.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | hlp_create_dialog (tag) | ^ helpmenu.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | hlp_ok_cb (w, client, call) | ^ helpmenu.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | hlp_openfile (tag) | ^ helpmenu.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | hlp_fillfromfile(tag, txt_w, l) | ^ helpmenu.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | hlp_fillfromstrings(msg, nmsg, txt_w) | ^ 6 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c homeio.c homeio.c:6:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | extern FILE *fdopen(); | ^ /usr/include/stdio.h:231:7: note: conflicting prototype is here 231 | FILE *fdopen(int, const char *); | ^ homeio.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | expand_home (path) | ^ homeio.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | fopenh (name, how) | ^ homeio.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | openh (name, flags, perm) | ^ homeio.c:125:15: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | (void) close (fd); | ^ homeio.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | existsh (name) | ^ homeio.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | skyloc_fifo (op) | ^ homeio.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | open_wfifores (fn, fpp) | ^ homeio.c:272:34: warning: too few arguments in call to 'openh' 272 | fd = openh (fn, O_WRONLY|NODELAY); | ~~~~~ ^ homeio.c:284:19: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | (void) close (fd); | ^ 10 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c jupmenu.c jupmenu.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | jm_newdb (appended) | ^ jupmenu.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | jm_selection_mode (whether) | ^ jupmenu.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | jm_cursor (c) | ^ jupmenu.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | jm_set_buttons (whether) | ^ jupmenu.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | jm_set_a_button(pbw, whether) | ^ jupmenu.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | jm_grsl_cb (w, client, call) | ^ jupmenu.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | jm_sstats_cb (w, client, call) | ^ jupmenu.c:1009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | jm_option_cb (w, client, call) | ^ jupmenu.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | jm_scale_cb (w, client, call) | ^ jupmenu.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | jm_activate_cb (w, client, call) | ^ jupmenu.c:1063:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | jt_da_exp_cb (w, client, call) | ^ jupmenu.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | jt_map_cb (wid, client, call) | ^ jupmenu.c:1176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | jt_unmap_cb (w, client, call) | ^ jupmenu.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | jm_unmap_cb (w, client, call) | ^ jupmenu.c:1217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | jm_close_cb (w, client, call) | ^ jupmenu.c:1230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | jm_movie_cb (w, client, call) | ^ jupmenu.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | jm_da_exp_cb (w, client, call) | ^ jupmenu.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | jm_da_input_cb (w, client, call) | ^ jupmenu.c:1328:10: warning: cast to smaller integer type 'SOIdx' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 1328 | soidx = (SOIdx) client; | ^~~~~~~~~~~~~~ jupmenu.c:1374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | jm_fill_popup (sop) | ^ jupmenu.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | jm_help_cb (w, client, call) | ^ jupmenu.c:1422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1422 | jm_helpon_cb (w, client, call) | ^ jupmenu.c:1434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1434 | jm_locfifo_cb (w, client, call) | ^ jupmenu.c:1446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | add_screenobj (soidx, op, x, y) | ^ jupmenu.c:1479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1479 | reset_screenobj(soidx) | ^ jupmenu.c:1493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | close_screenobj (soidx, x, y) | ^ jupmenu.c:1533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | moonSVis(op, mdp) | ^ jupmenu.c:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | moonEVis (mdp) | ^ jupmenu.c:1582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | jm_update (np, how_much) | ^ jupmenu.c:1604:21: warning: passing arguments to 'jupiter_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1604 | jupiter_data(mjd, jop, &jupsize, &cmlI, &cmlII, md); | ^ jupmenu.c:1617:12: warning: passing arguments to 'moonradec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | moonradec (jupsize, md); | ^ jupmenu.c:1637:18: warning: passing arguments to 'jm_draw_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | jm_draw_map (jda_w, jop, jupsize, cmlII, md); | ^ jupmenu.c:1686:14: warning: passing arguments to 'make_gcs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1686 | make_gcs(w); | ^ jupmenu.c:1654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | jm_draw_map (w, jop, jupsize, cmlII, md) | ^ jupmenu.c:1528:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1528 | static void jm_draw_map (); | ^ jupmenu.c:1838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1838 | make_gcs (w) | ^ jupmenu.c:1529:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1529 | static void make_gcs (); | ^ jupmenu.c:1877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | j_calibline (dsp, win, gc, xc, yc, tag, tw, th, l) | ^ jupmenu.c:1902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1902 | sky_background (win, w, h, fmag, ra0,dec0,scale,rad,fliptb,fliplr) | ^ jupmenu.c:1972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1972 | jm_loadfs (ra, dec) | ^ jupmenu.c:2001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2001 | moonradec (jupsize, md) | ^ jupmenu.c:1527:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1527 | static void moonradec(); | ^ jupmenu.c:2023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2023 | jgrs_draw (jop, dr, rad, jx, jy, fliptb, fliplr, jgrs_lng, cmlII) | ^ jupmenu.c:2090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2090 | jupiter_data(d, jop, jupsize, cmlI, cmlII, md) | ^ jupmenu.c:1526:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1526 | static void jupiter_data(); | ^ jupmenu.c:2141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2141 | meeus_jupiter(d, cmlI, cmlII, md) | ^ jupmenu.c:2249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2249 | use_bdl (JD, md) | ^ 47 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c listmenu.c listmenu.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | lst_selection (name) | ^ listmenu.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | lst_log (name, str) | ^ listmenu.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | lst_cursor (c) | ^ listmenu.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | lst_select(whether) | ^ listmenu.c:270:11: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 270 | (XtPointer)tbs[i].cb_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~ listmenu.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | lst_activate_cb (w, client, call) | ^ listmenu.c:370:15: warning: cast to smaller integer type 'Options' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 370 | Options op = (Options) client; | ^~~~~~~~~~~~~~~~ listmenu.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | lst_close_cb (w, client, call) | ^ listmenu.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | lst_help_cb (w, client, call) | ^ listmenu.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | lst_turn_on (how) | ^ listmenu.c:584:32: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 584 | fprintf (lst_fp, "%c %-*.*s", cmt, lp->l_w, | ~~~~^~ 585 | dp-lp->l_name, lp->l_name); | ~~~~~~~~~~~~~ 11 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c mainmenu.c mainmenu.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | mm_create (mainrc) | ^ mainmenu.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | mm_go_cb (w, client, call) | ^ mainmenu.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | mm_newcaldate (newmjd) | ^ mainmenu.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | mm_selection_mode (whether) | ^ mainmenu.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | mm_setsite (slat, slng, sp, update) | ^ mainmenu.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | mm_setepoch (yr) | ^ mainmenu.c:588:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | double mm_mjed (np) | ^ mainmenu.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | mm_movie (stepsz) | ^ mainmenu.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | redraw_screen (how_much) | ^ mainmenu.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | create_main_form(mainrc) | ^ mainmenu.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | make_prompts (p_w, pc, title, tip, fp, nfp) | ^ mainmenu.c:941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | fw(fid) | ^ mainmenu.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | mm_set_buttons (whether) | ^ mainmenu.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | mm_activate_cb (w, client, call) | ^ mainmenu.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | mm_set_alt_prompts(fp) | ^ mainmenu.c:1085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | mm_timer_cb (client, id) | ^ mainmenu.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | mm_step_cb (w, client, call) | ^ mainmenu.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | mm_go_action (w, e, p, n) | ^ mainmenu.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | print_tminc(force) | ^ mainmenu.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | print_status (s) | ^ mainmenu.c:1445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | print_nstep(force) | ^ mainmenu.c:1459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1459 | print_spause(force) | ^ mainmenu.c:1476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1476 | crack_fieldset (buf) | ^ mainmenu.c:1524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1524 | chg_fld (bp, fp) | ^ mainmenu.c:1812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1812 | prompt_ok_cb (w, client, call) | ^ mainmenu.c:1862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | prompt (fp) | ^ mainmenu.c:1981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1981 | create_prompt_w(wp) | ^ mainmenu.c:2041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | mm_set_step_code (bp) | ^ mainmenu.c:2097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2097 | mm_now (all) | ^ mainmenu.c:2172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2172 | mm_twilight (force) | ^ mainmenu.c:2226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2226 | mm_newcir (y) | ^ mainmenu.c:2248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2248 | mm_newcir_cb (client, id) | ^ mainmenu.c:2350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2350 | ext_ok_cb (w, client, call) | ^ mainmenu.c:2393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2393 | ext_help_cb (w, client, call) | ^ 34 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c marsmenu.c marsmenu.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | mars_update (np, how_much) | ^ marsmenu.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | mars_selection_mode (whether) | ^ marsmenu.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | mars_cursor (c) | ^ marsmenu.c:880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | m_set_buttons (whether) | ^ marsmenu.c:890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | m_set_a_button(pbw, whether) | ^ marsmenu.c:962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | m_moons_cb (w, client, call) | ^ marsmenu.c:975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | m_mstats_cb (w, client, call) | ^ marsmenu.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | array_pixel (array, x, y, v) | ^ marsmenu.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | m_print_cb (w, client, call) | ^ marsmenu.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | m_selection_cb (w, client, call) | ^ marsmenu.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | m_cml_cb (w, client, call) | ^ marsmenu.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | m_slt_cb (w, client, call) | ^ marsmenu.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | m_see_cb (w, client, call) | ^ marsmenu.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | m_apply_cb (w, client, call) | ^ marsmenu.c:1265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | m_aim_cb (w, client, call) | ^ marsmenu.c:1294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1294 | m_unmap_cb (w, client, call) | ^ marsmenu.c:1328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1328 | m_close_cb (w, client, call) | ^ marsmenu.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | m_option_cb (w, client, call) | ^ marsmenu.c:1348:15: warning: cast to smaller integer type 'Option' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 1348 | Option opt = (Option)client; | ^~~~~~~~~~~~~~ marsmenu.c:1401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | m_help_cb (w, client, call) | ^ marsmenu.c:1418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1418 | m_helpon_cb (w, client, call) | ^ marsmenu.c:1431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | m_exp_cb (w, client, call) | ^ marsmenu.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | m_pointer_eh (w, client, ev, continue_to_dispatch) | ^ marsmenu.c:1532:19: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1532 | (void) close (fd); | ^ marsmenu.c:1535:15: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1535 | (void) close (fd); | ^ marsmenu.c:1628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | m_refresh(ep) | ^ marsmenu.c:1657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1657 | m_getsize (d, wp, hp, dp) | ^ marsmenu.c:2014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2014 | mxim_pixel (array, x, y, v) | ^ marsmenu.c:2037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | image_setup (fp, arg) | ^ marsmenu.c:2154:9: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2154 | (*fp) (arg, ix, iy, v); | ^ marsmenu.c:2167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2167 | xy2ll (x, y, lp, Lp) | ^ marsmenu.c:2198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2198 | ll2xy (l, L, xp, yp) | ^ marsmenu.c:2276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2276 | m_reportloc (x, y) | ^ marsmenu.c:2296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2296 | m_popup (ep) | ^ marsmenu.c:2358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2358 | m_eqproject (np, ra, dec, xp, yp) | ^ marsmenu.c:2392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2392 | mars_cml(np, cmlp, sltp, pap) | ^ 36 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c marsmmenu.c marsmmenu.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | marsm_newdb (appended) | ^ marsmmenu.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | marsm_selection_mode (whether) | ^ marsmmenu.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | marsm_cursor (c) | ^ marsmmenu.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | marsm_set_buttons (whether) | ^ marsmmenu.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | marsm_set_a_button(pbw, whether) | ^ marsmmenu.c:880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | marsm_sstats_cb (w, client, call) | ^ marsmmenu.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | marsm_option_cb (w, client, call) | ^ marsmmenu.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | marsm_scale_cb (w, client, call) | ^ marsmmenu.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | marsm_activate_cb (w, client, call) | ^ marsmmenu.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | mt_da_exp_cb (w, client, call) | ^ marsmmenu.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | mt_map_cb (wid, client, call) | ^ marsmmenu.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | mt_unmap_cb (w, client, call) | ^ marsmmenu.c:1077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | marsm_unmap_cb (w, client, call) | ^ marsmmenu.c:1107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | marsm_close_cb (w, client, call) | ^ marsmmenu.c:1120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | marsm_movie_cb (w, client, call) | ^ marsmmenu.c:1136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | marsm_da_exp_cb (w, client, call) | ^ marsmmenu.c:1197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | marsm_da_input_cb (w, client, call) | ^ marsmmenu.c:1218:10: warning: cast to smaller integer type 'SOIdx' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 1218 | soidx = (SOIdx) client; | ^~~~~~~~~~~~~~ marsmmenu.c:1264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | marsm_fill_popup (sop) | ^ marsmmenu.c:1295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | marsm_help_cb (w, client, call) | ^ marsmmenu.c:1312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | marsm_helpon_cb (w, client, call) | ^ marsmmenu.c:1324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | marsm_locfifo_cb (w, client, call) | ^ marsmmenu.c:1336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | add_screenobj (soidx, op, x, y) | ^ marsmmenu.c:1369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | reset_screenobj(soidx) | ^ marsmmenu.c:1383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | close_screenobj (soidx, x, y) | ^ marsmmenu.c:1423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1423 | moonSVis(op, mdp) | ^ marsmmenu.c:1460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1460 | moonEVis (mdp) | ^ marsmmenu.c:1472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | marsm_update (np, how_much) | ^ marsmmenu.c:1493:19: warning: passing arguments to 'marsm_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | marsm_data(mjd, mop, &usize, md); | ^ marsmmenu.c:1506:12: warning: passing arguments to 'moonradec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | moonradec (usize, md); | ^ marsmmenu.c:1524:21: warning: passing arguments to 'marsm_draw_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1524 | marsm_draw_map (mda_w, mop, usize, md); | ^ marsmmenu.c:1571:14: warning: passing arguments to 'make_gcs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | make_gcs(w); | ^ marsmmenu.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | marsm_draw_map (w, mop, usize, md) | ^ marsmmenu.c:1418:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1418 | static void marsm_draw_map (); | ^ marsmmenu.c:1719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1719 | make_gcs (w) | ^ marsmmenu.c:1419:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1419 | static void make_gcs (); | ^ marsmmenu.c:1751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1751 | marsm_calibline (dsp, win, gc, xc, yc, tag, tw, th, l) | ^ marsmmenu.c:1776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | sky_background (win, w, h, fmag, ra0,dec0,scale,rad,fliptb,fliplr) | ^ marsmmenu.c:1846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1846 | marsm_loadfs (ra, dec) | ^ marsmmenu.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1875 | moonradec (usize, md) | ^ marsmmenu.c:1417:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1417 | static void moonradec(); | ^ marsmmenu.c:1906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1906 | marsm_data(d, mop, usize, md) | ^ marsmmenu.c:1416:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1416 | static void marsm_data(); | ^ marsmmenu.c:1953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1953 | use_bdl (JD, md) | ^ 44 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c moonmenu.c moonmenu.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | m_update (np, how_much) | ^ moonmenu.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | m_newdb (appended) | ^ moonmenu.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | m_selection_mode (whether) | ^ moonmenu.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | m_cursor (c) | ^ moonmenu.c:651:9: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 651 | (XtPointer)i); | ^~~~~~~~~~~~ moonmenu.c:1107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | m_set_buttons (whether) | ^ moonmenu.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | m_set_a_button(pbw, whether) | ^ moonmenu.c:1193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | m_eshine_cb (w, client, call) | ^ moonmenu.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | m_eshineclose_cb (w, client, call) | ^ moonmenu.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | m_eshineup_cb (w, client, call) | ^ moonmenu.c:1232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | m_mstats_cb (w, client, call) | ^ moonmenu.c:1247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | array_pixel (array, x, y, v) | ^ moonmenu.c:1260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | m_print_cb (w, client, call) | ^ moonmenu.c:1450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | m_activate_cb (w, client, call) | ^ moonmenu.c:1466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | m_unmap_cb (w, client, call) | ^ moonmenu.c:1494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1494 | m_close_cb (w, client, call) | ^ moonmenu.c:1509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1509 | m_option_cb (w, client, call) | ^ moonmenu.c:1514:15: warning: cast to smaller integer type 'Option' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 1514 | Option opt = (Option)client; | ^~~~~~~~~~~~~~ moonmenu.c:1591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1591 | m_shrink_cb (w, client, call) | ^ moonmenu.c:1596:10: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1596 | int f = (int)client; | ^~~~~~~~~~~ moonmenu.c:1610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1610 | m_help_cb (w, client, call) | ^ moonmenu.c:1627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | m_helpon_cb (w, client, call) | ^ moonmenu.c:1641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1641 | xy2ll (x, y, ltp, lgp) | ^ moonmenu.c:1681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1681 | ll2xy (lt, lg, xp, yp) | ^ moonmenu.c:1717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1717 | overMoon (x, y) | ^ moonmenu.c:1729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1729 | m_pointer_eh (w, client, ev, continue_to_dispatch) | ^ moonmenu.c:1769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1769 | m_exp_cb (w, client, call) | ^ moonmenu.c:1846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1846 | m_refresh(ep) | ^ moonmenu.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1875 | m_getsize (d, wp, hp, dp) | ^ moonmenu.c:1941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1941 | m_info(np) | ^ moonmenu.c:2214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2214 | m_loadfs (np, ra, dec) | ^ moonmenu.c:2241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2241 | m_wantlabel (mp) | ^ moonmenu.c:2429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2429 | mxim_pixel (array, x, y, v) | ^ moonmenu.c:2453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2453 | image_setup (fp, arg) | ^ moonmenu.c:2485:9: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2485 | (*fp) (arg, x, fy, v); | ^ moonmenu.c:2576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2576 | m_esedges (y, sinsrl, right, lxp, rxp) | ^ moonmenu.c:2635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2635 | m_shrink (f) | ^ moonmenu.c:2661:19: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2661 | (void) close (fd); | ^ moonmenu.c:2664:15: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2664 | (void) close (fd); | ^ moonmenu.c:2782:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2782 | m_resize(in, nr, nc, f, out) | ^ moonmenu.c:2943:13: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 2942 | (void) sprintf (buf, "Can not flip -- rows are longer than %d", | ~~ | %lu 2943 | sizeof(buf)); | ^~~~~~~~~~~ moonmenu.c:2982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2982 | m_reportloc (dsp, win, x, y) | ^ moonmenu.c:3035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3035 | makeGlassImage (dsp) | ^ moonmenu.c:3070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3070 | makeGlassGC (dsp, win) | ^ moonmenu.c:3091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3091 | doGlass (dsp, win, b1p, m1, b1r, wx, wy) | ^ moonmenu.c:3203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3203 | fillGlass (xc, yc) | ^ moonmenu.c:3399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3399 | addSkyObj (op, x, y) | ^ moonmenu.c:3425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3425 | closeSkyObj (x, y) | ^ moonmenu.c:3449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3449 | m_popup (ep) | ^ moonmenu.c:3523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3523 | fill_popup (mp, x, y) | ^ moonmenu.c:3579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3579 | closeMoonDB (x, y) | ^ moonmenu.c:3637:15: warning: cast to smaller integer type 'Assign_t' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 3637 | Assign_t a = (Assign_t)client; | ^~~~~~~~~~~~~~~~ moonmenu.c:3631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3631 | m_assign_cb (w, client, call) | ^ moonmenu.c:3728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3728 | fill_skypopup (op) | ^ 54 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c moonnf.c moonnf.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | moonnf (mjd, mjdn, mjdf) | ^ moonnf.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | m (t, k, mjd) | ^ 2 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c msgmenu.c msgmenu.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | xe_msg (msg, app_modal) | ^ msgmenu.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | msg_cursor (c) | ^ msgmenu.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | msg_erase_cb (w, client, call) | ^ msgmenu.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | msg_close_cb (w, client, call) | ^ msgmenu.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | msg_add (msg) | ^ msgmenu.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | xe_msg_modal (p) | ^ 6 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c netmenu.c netmenu.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | httpGET (host, GETcmd, msg) | ^ netmenu.c:151:19: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | (void) close (fd); | ^ netmenu.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | mkconnection (host, port, msg) | ^ netmenu.c:230:22: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | (void) close(sockfd); | ^ netmenu.c:233:19: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | (void)write (sockfd, &SocksPacket, sizeof (SocksPacket)); | ^ netmenu.c:235:19: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | (void)read (sockfd, &SocksPacket, sizeof (SocksPacket)); | ^ netmenu.c:241:19: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | (void) close(sockfd); | ^ netmenu.c:245:19: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | (void) close(sockfd); | ^ netmenu.c:249:19: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | (void) close(sockfd); | ^ netmenu.c:268:22: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | (void) close(sockfd); | ^ netmenu.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | sendbytes (fd, buf, n) | ^ netmenu.c:290:11: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | ns = write (fd, (void *)(buf+tot), n-tot); | ^ netmenu.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | recvbytes (fd, buf, n) | ^ netmenu.c:311:11: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | ns = read (fd, (void *)(buf+tot), n-tot); | ^ netmenu.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | readbytes (fd, buf, n) | ^ netmenu.c:332:7: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 332 | ns = read (fd, (void *)buf, n); | ^ netmenu.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | recvline (fd, buf, max) | ^ netmenu.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | recvlineb (sock, buf, size) | ^ netmenu.c:395:8: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 395 | nr = read (sock, linebuf, sizeof(linebuf)); | ^ netmenu.c:700:16: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | (void) close (fd); | ^ netmenu.c:718:16: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | (void) close (fd); | ^ netmenu.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | ok_cb (w, client, call) | ^ netmenu.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | cancel_cb (w, client, call) | ^ netmenu.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | tb_cb (w, client, call) | ^ netmenu.c:761:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 761 | switch ((int)client) { | ^~~~~~~~~~~ netmenu.c:778:35: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 778 | printf ("FS: bad client: %d\n", (int)client); | ^~~~~~~~~~~ netmenu.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | help_cb (w, client, call) | ^ netmenu.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | tout (maxt, fd, w) | ^ netmenu.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | herr (errmsg) | ^ netmenu.c:874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | connect_to (sockfd, serv_addr, addrlen) | ^ netmenu.c:921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | stopd_cb (w, client, call) | ^ 31 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c objmenu.c objmenu.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | obj_update (np, howmuch) | ^ objmenu.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | obj_set (op, dbidx) | ^ objmenu.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | obj_newdb(appended) | ^ objmenu.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | obj_cursor (c) | ^ objmenu.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | obj_set_from_db (op) | ^ objmenu.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | obj_setobjinfo(fp, nf) | ^ objmenu.c:580:9: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 580 | (XtPointer)i); | ^~~~~~~~~~~~ objmenu.c:641:9: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 641 | (XtPointer)i); | ^~~~~~~~~~~~ objmenu.c:729:11: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 729 | (XtPointer)ctlbtns[i].id); | ^~~~~~~~~~~~~~~~~~~~~~~~ objmenu.c:802:11: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 802 | (XtPointer)skybtns[i].id); | ^~~~~~~~~~~~~~~~~~~~~~~~ objmenu.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | obj_create_type_rc_form (fw, fp) | ^ objmenu.c:861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | obj_change_cb (w, client, call) | ^ objmenu.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | obj_ctl_cb (w, client, call) | ^ objmenu.c:894:11: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 894 | int id = (int) client; | ^~~~~~~~~~~~ objmenu.c:989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | obj_xyz_cb (w, client, call) | ^ objmenu.c:995:12: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 995 | int xyz = (int)client; | ^~~~~~~~~~~ objmenu.c:1009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | obj_type_cb (w, client, call) | ^ objmenu.c:1015:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1015 | int type = (int)client; | ^~~~~~~~~~~ objmenu.c:1030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | obj_select_cb (w, client, call) | ^ objmenu.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | obj_scroll_cb (w, client, call) | ^ objmenu.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | obj_srch_cb (w, client, call) | ^ objmenu.c:1144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1144 | srch_match (n1, n2) | ^ objmenu.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | nl_cmp (nl1, nl2) | ^ objmenu.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | obj_setnames(nli) | ^ objmenu.c:1324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | obj_set_a_button(pbw, whether) | ^ objmenu.c:1398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | prompt_ok_cb (w, client, call) | ^ objmenu.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | prompt (fp) | ^ objmenu.c:1484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1484 | obj_set_button (w, id) | ^ objmenu.c:1655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1655 | epoch_as_decimal (w, e) | ^ objmenu.c:1665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1665 | epoch_as_mdy (w, e) | ^ 30 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c patchlevel.c cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c plot_aux.c plot_aux.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | plot_cartesian (pfp, widget, nx, ny, flipx, flipy, grid, xasdate) | ^ plot_aux.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | mk_gcs (w) | ^ plot_aux.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | x_ticks (asdate, minx, maxx, maxticks, ticks) | ^ plot_aux.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | draw_x_label (dsp, win, asdate, v, x, y) | ^ 4 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c plotmenu.c plotmenu.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | plt_selection (name) | ^ plotmenu.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | plt_log (name, value) | ^ plotmenu.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | plt_cursor (c) | ^ plotmenu.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | plt_select(whether) | ^ plotmenu.c:311:11: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 311 | (XtPointer)tbs[i].cb_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~ plotmenu.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | plt_activate_cb (w, client, call) | ^ plotmenu.c:476:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 476 | int what = (int) client; | ^~~~~~~~~~~~ plotmenu.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | plt_close_cb (w, client, call) | ^ plotmenu.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | plt_help_cb (w, client, call) | ^ plotmenu.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | plt_turn_on (how) | ^ plotmenu.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | plt_da_destroy (da_w) | ^ plotmenu.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | plt_da_print_cb (w, client, call) | ^ plotmenu.c:941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | plt_da_close_cb (w, client, call) | ^ plotmenu.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | plt_da_unmap_cb (w, client, call) | ^ plotmenu.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | plt_da_flipx_cb (w, client, call) | ^ plotmenu.c:1007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | plt_da_flipy_cb (w, client, call) | ^ plotmenu.c:1046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | plt_da_grid_cb (w, client, call) | ^ plotmenu.c:1085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | plt_da_xasdate_cb (w, client, call) | ^ plotmenu.c:1124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | plt_da_exp_cb (da_w, client, call) | ^ plotmenu.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | plt_drawall (da_w) | ^ 20 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c ppm.c ppm.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | ppmchkfile (file, msg) | ^ ppm.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | ppmfetch (file, np, ra, dec, fov, mag, saohd, opp, msg) | ^ ppm.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | ppmopen (file, msg) | ^ ppm.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | unpackObj (pkt, np, saohd, op) | ^ ppm.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | addOneObjF (ap, fop) | ^ ppm.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | unpack (buf, ra, dec, pma, pmd, mag, ppm, sao, hd, spect, class, type) | ^ 6 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c preferences.c preferences.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | pref_create_pulldown (menu_bar) | ^ preferences.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | pref_get(pref) | ^ preferences.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | pref_simplepair (pd, prefname, pdname, tip, cblabel, cbmne, callback, | ^ preferences.c:224:12: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 224 | (XtPointer)op1pref); | ^~~~~~~~~~~~~~~~~~ preferences.c:234:12: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 234 | (XtPointer)op2pref); | ^~~~~~~~~~~~~~~~~~ preferences.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | pref_date_cb (w, client, call) | ^ preferences.c:266:32: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 266 | prefs[PREF_DATE_FORMAT] = (int)client; | ^~~~~~~~~~~ preferences.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | pref_units_cb (w, client, call) | ^ preferences.c:284:26: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 284 | prefs[PREF_UNITS] = (int)client; | ^~~~~~~~~~~ preferences.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | pref_tz_cb (w, client, call) | ^ preferences.c:302:25: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 302 | prefs[PREF_ZONE] = (int)client; | ^~~~~~~~~~~ preferences.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | pref_dpy_prec_cb (w, client, call) | ^ preferences.c:320:28: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 320 | prefs[PREF_DPYPREC] = (int)client; | ^~~~~~~~~~~ preferences.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | pref_topogeo_cb (w, client, call) | ^ preferences.c:338:31: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 338 | prefs[PREF_EQUATORIAL] = (int)client; | ^~~~~~~~~~~ preferences.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | pref_msg_bell_cb (w, client, call) | ^ preferences.c:356:29: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 356 | prefs[PREF_MSG_BELL] = (int)client; | ^~~~~~~~~~~ preferences.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | pref_prefill_cb (w, client, call) | ^ preferences.c:373:29: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 373 | prefs[PREF_PRE_FILL] = (int)client; | ^~~~~~~~~~~ preferences.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | pref_tips_cb (w, client, call) | ^ preferences.c:390:25: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 390 | prefs[PREF_TIPS] = (int)client; | ^~~~~~~~~~~ preferences.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | pref_confirm_cb (w, client, call) | ^ preferences.c:407:28: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 407 | prefs[PREF_CONFIRM] = (int)client; | ^~~~~~~~~~~ 23 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c progress.c progress.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | pm_set (p) | ^ progress.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | pm_cursor(c) | ^ progress.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | pm_close_cb (w, client, call) | ^ progress.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | pm_exp_cb (w, client, call) | ^ progress.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | show_progress (p, all) | ^ 5 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c ps.c ps.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | XPSAsk (apname, go) | ^ ps.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | XPSCleanStr (s, l) | ^ ps.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | XPS_cursor (c) | ^ ps.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | XPSRegisterFont (fid, fname) | ^ ps.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | XPSXBegin (win, Xx0, Xy0, Xw, Xh, Px0, Py0, Pw) | ^ ps.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | XPSDirect (s) | ^ ps.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | XPSDrawEllipse (dsp, win, gc, x, y, a0, w, h, a1, a2) | ^ ps.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | XPSDrawArc (dsp, win, gc, x, y, w, h, a1, a2) | ^ ps.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | XPSDrawArcs (dsp, win, gc, xa, nxa) | ^ ps.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | XPSDrawLine (dsp, win, gc, x1, y1, x2, y2) | ^ ps.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | XPSDrawLines (dsp, win, gc, xp, nxp, mode) | ^ ps.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | XPSDrawPoint (dsp, win, gc, x, y) | ^ ps.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | XPSDrawPoints (dsp, win, gc, xp, nxp, mode) | ^ ps.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | XPSDrawRectangle (dsp, win, gc, x, y, w, h) | ^ ps.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | XPSDrawRectangles (dsp, win, gc, xra, nxr) | ^ ps.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | XPSDrawSegments (dsp, win, gc, xs, nxs) | ^ ps.c:921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | XPSDrawString (dsp, win, gc, x, y, s, l) | ^ ps.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | XPSRotDrawAlignedString (dsp, fs, angle, mag, win, gc, x, y, str, align) | ^ ps.c:988:23: warning: passing arguments to 'XRotSetMagnification' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | XRotSetMagnification (mag); | ^ ps.c:989:24: warning: passing arguments to 'XRotDrawAlignedString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | XRotDrawAlignedString (dsp, fs, angle, win, gc, x, y, str, align); | ^ ps.c:1049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | XPSFillArc (dsp, win, gc, x, y, w, h, a1, a2) | ^ ps.c:1078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | XPSFillArcs (dsp, win, gc, xap, na) | ^ ps.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | XPSFillPolygon (dsp, win, gc, xp, nxp, shape, mode) | ^ ps.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | XPSFillRectangle (dsp, win, gc, x, y, w, h) | ^ ps.c:1145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | XPSFillRectangles (dsp, win, gc, xra, nxr) | ^ ps.c:1166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | PSFillRectangle (win, gray, x, y, w, h) | ^ ps.c:1186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | XPSImage (win, pix, cm, maxcm, inv, x0, y0, nr, nc, lr, tb) | ^ ps.c:1237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | setLineStyle (dsp, gc) | ^ ps.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | setColor (dsp, gc, dogray) | ^ ps.c:1314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | doArc (xap, fill) | ^ ps.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | doPoly (xp, nxp, mode, fill) | ^ ps.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | doRect (x, y, w, h, fill) | ^ ps.c:1383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | doSegment (x1, y1, x2, y2) | ^ ps.c:1390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | checkState (funcname, s) | ^ ps.c:1402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | printTime (x, y) | ^ ps.c:1447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | XPSOpen (fn) | ^ ps.c:1646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | toggle_cb (w, client, call) | ^ ps.c:1669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1669 | ok_cb (w, client, call) | ^ ps.c:1709:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1709 | close(fd); | ^ ps.c:1713:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1713 | close(fd); | ^ ps.c:1736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1736 | cancel_cb (w, client, call) | ^ ps.c:1748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1748 | help_cb (w, client, call) | ^ ps.c:1841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1841 | x_fill_circle (dsp, win, gc, x, y, diam) | ^ 43 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c query.c query.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | query (tw, msg, label0, label1, label2, func0, func1, func2) | ^ query.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | query_create(tw) | ^ query.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | query_cb (w, client, call) | ^ query.c:101:22: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 101 | void (*f)() = funcs[(int)client]; | ^~~~~~~~~~~ 4 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c rotated.c rotated.c:168:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | static char *my_strdup(str) | ^ rotated.c:139:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | static char *my_strdup(); | ^ rotated.c:192:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | static char *my_strtok(str1, str2) | ^ rotated.c:140:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 140 | static char *my_strtok(); | ^ rotated.c:243:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | float XRotVersion(str, n) | ^ rotated.c:142:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | float XRotVersion(); | ^ rotated.c:260:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | void XRotSetMagnification(m) | ^ rotated.c:143:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 143 | void XRotSetMagnification(); | ^ rotated.c:275:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | void XRotSetBoundingBoxPad(p) | ^ rotated.c:144:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | void XRotSetBoundingBoxPad(); | ^ rotated.c:290:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | static XImage *MakeXImage(dpy, w, h) | ^ rotated.c:151:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | static XImage *MakeXImage(); | ^ rotated.c:330:35: warning: passing arguments to 'XRotPaintAlignedString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | return (XRotPaintAlignedString(dpy, font, angle, drawable, gc, | ^ rotated.c:321:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | int XRotDrawString(dpy, font, angle, drawable, gc, x, y, str) | ^ rotated.c:145:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 145 | int XRotDrawString(); | ^ rotated.c:352:34: warning: passing arguments to 'XRotPaintAlignedString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | return(XRotPaintAlignedString(dpy, font, angle, drawable, gc, | ^ rotated.c:343:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | int XRotDrawImageString(dpy, font, angle, drawable, gc, x, y, str) | ^ rotated.c:146:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 146 | int XRotDrawImageString(); | ^ rotated.c:375:34: warning: passing arguments to 'XRotPaintAlignedString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | return(XRotPaintAlignedString(dpy, font, angle, drawable, gc, | ^ rotated.c:365:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | int XRotDrawAlignedString(dpy, font, angle, drawable, gc, x, y, text, align) | ^ rotated.c:147:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | int XRotDrawAlignedString(); | ^ rotated.c:399:34: warning: passing arguments to 'XRotPaintAlignedString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | return(XRotPaintAlignedString(dpy, font, angle, drawable, gc, | ^ rotated.c:388:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | int XRotDrawAlignedImageString(dpy, font, angle, drawable, gc, x, y, text, | ^ rotated.c:148:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 148 | int XRotDrawAlignedImageString(); | ^ rotated.c:450:33: warning: passing arguments to 'XRotDrawHorizontalString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | return(XRotDrawHorizontalString(dpy, font, drawable, gc, x, y, | ^ rotated.c:454:31: warning: passing arguments to 'XRotRetrieveFromCache' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | item=XRotRetrieveFromCache(dpy, font, angle, text, align); | ^ rotated.c:639:18: warning: passing arguments to 'XRotFreeTextItem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | XRotFreeTextItem(dpy,item); | ^ rotated.c:411:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | static int XRotPaintAlignedString(dpy, font, angle, drawable, gc, x, y, text, | ^ rotated.c:152:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | static int XRotPaintAlignedString(); | ^ rotated.c:653:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | static int XRotDrawHorizontalString(dpy, font, drawable, gc, x, y, text, | ^ rotated.c:153:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | static int XRotDrawHorizontalString(); | ^ rotated.c:841:25: warning: passing arguments to 'XRotCreateTextItem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | item=XRotCreateTextItem(dpy, font, angle, text, align); | ^ rotated.c:863:21: warning: passing arguments to 'XRotAddToLinkedList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | XRotAddToLinkedList(dpy, item); | ^ rotated.c:754:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | static RotatedTextItem *XRotRetrieveFromCache(dpy, font, angle, text, align) | ^ rotated.c:154:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 154 | static RotatedTextItem *XRotRetrieveFromCache(); | ^ rotated.c:1076:23: warning: passing arguments to 'XRotMagnifyImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1076 | I_in=XRotMagnifyImage(dpy, I_in); | ^ rotated.c:903:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | static RotatedTextItem *XRotCreateTextItem(dpy, font, angle, text, align) | ^ rotated.c:155:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | static RotatedTextItem *XRotCreateTextItem(); | ^ rotated.c:1276:18: warning: passing arguments to 'XRotFreeTextItem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | XRotFreeTextItem(dpy, i1); | ^ rotated.c:1201:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | static void XRotAddToLinkedList(dpy, item) | ^ rotated.c:156:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 156 | static void XRotAddToLinkedList(); | ^ rotated.c:1311:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | static void XRotFreeTextItem(dpy, item) | ^ rotated.c:157:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 157 | static void XRotFreeTextItem(); | ^ rotated.c:1340:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | static XImage *XRotMagnifyImage(dpy, ximage) | ^ rotated.c:158:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 158 | static XImage *XRotMagnifyImage(); | ^ rotated.c:1453:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | XPoint *XRotTextExtents(dpy, font, angle, x, y, text, align) | ^ rotated.c:149:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 149 | XPoint *XRotTextExtents(); | ^ 47 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c satmenu.c satmenu.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | sm_newdb (appended) | ^ satmenu.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | sm_selection_mode (whether) | ^ satmenu.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | sm_cursor (c) | ^ satmenu.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | sm_set_buttons (whether) | ^ satmenu.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | sm_set_a_button(pbw, whether) | ^ satmenu.c:949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | sm_sstats_cb (w, client, call) | ^ satmenu.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | sm_option_cb (w, client, call) | ^ satmenu.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | sm_scale_cb (w, client, call) | ^ satmenu.c:1006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | sm_activate_cb (w, client, call) | ^ satmenu.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | st_da_exp_cb (w, client, call) | ^ satmenu.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | st_map_cb (wid, client, call) | ^ satmenu.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | st_unmap_cb (w, client, call) | ^ satmenu.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | sm_unmap_cb (w, client, call) | ^ satmenu.c:1176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | sm_close_cb (w, client, call) | ^ satmenu.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | sm_movie_cb (w, client, call) | ^ satmenu.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | sm_da_exp_cb (w, client, call) | ^ satmenu.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | sm_da_input_cb (w, client, call) | ^ satmenu.c:1287:10: warning: cast to smaller integer type 'SOIdx' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 1287 | soidx = (SOIdx) client; | ^~~~~~~~~~~~~~ satmenu.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | sm_fill_popup (sop) | ^ satmenu.c:1364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1364 | sm_help_cb (w, client, call) | ^ satmenu.c:1381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | sm_helpon_cb (w, client, call) | ^ satmenu.c:1393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | sm_locfifo_cb (w, client, call) | ^ satmenu.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | add_screenobj (soidx, op, x, y) | ^ satmenu.c:1438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | reset_screenobj(soidx) | ^ satmenu.c:1452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1452 | close_screenobj (soidx, x, y) | ^ satmenu.c:1492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | moonSVis(op, mdp) | ^ satmenu.c:1529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1529 | moonEVis (mdp) | ^ satmenu.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | sm_update (np, how_much) | ^ satmenu.c:1563:20: warning: passing arguments to 'saturn_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | saturn_data(mjd + MJD0, sop, &satsize, &etilt, &stilt, md); | ^ satmenu.c:1576:12: warning: passing arguments to 'moonradec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1576 | moonradec (satsize, md); | ^ satmenu.c:1596:18: warning: passing arguments to 'sm_draw_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1596 | sm_draw_map (sop, etilt, satsize, md); | ^ satmenu.c:1648:14: warning: passing arguments to 'make_gcs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1648 | make_gcs(sda_w); | ^ satmenu.c:1614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | sm_draw_map (sop, etilt, satsize, md) | ^ satmenu.c:1487:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1487 | static void sm_draw_map (); | ^ satmenu.c:1838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1838 | make_gcs (w) | ^ satmenu.c:1488:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1488 | static void make_gcs (); | ^ satmenu.c:1870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1870 | sm_calibline (dsp, win, gc, xc, yc, tag, tw, th, l) | ^ satmenu.c:1895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1895 | sky_background (win, w, h, fmag, ra0,dec0,scale,rad,fliptb,fliplr) | ^ satmenu.c:1965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1965 | sm_loadfs (ra, dec) | ^ satmenu.c:1994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1994 | moonradec (satsize, md) | ^ satmenu.c:1486:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1486 | static void moonradec(); | ^ satmenu.c:2019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2019 | saturn_data (JD, sop, sizep, etiltp, stiltp, md) | ^ satmenu.c:1485:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1485 | static void saturn_data(); | ^ satmenu.c:2067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2067 | use_bdl (JD, md) | ^ satmenu.c:2151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2151 | bruton_saturn (sop, JD, md) | ^ satmenu.c:2354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2354 | ring_tilt (sop, JD, etiltp, stiltp) | ^ 46 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c sites.c sites.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | sites_get_list (sippp) | ^ sites.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | sites_search (startpos, str) | ^ sites.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | sites_abbrev (full, ab, maxn) | ^ sites.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | compstr (str, comp) | ^ sites.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | sites_fillsl (sl_w) | ^ sites.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | sites_cmpf (v1, v2) | ^ sites.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | sq_ok_cb (w, client, call) | ^ sites.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | sq_cancel_cb (w, client, call) | ^ sites.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | sq_tf_cb (w, client, call) | ^ sites.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | sq_actlist_cb (w, client, call) | ^ 10 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c skyfiltmenu.c skyfiltmenu.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | svf_gettables (tt, ct) | ^ skyfiltmenu.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | svf_settables (tt, ct) | ^ skyfiltmenu.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | svf_getmaglimits (stmagp, ssmagp, dsmagp, magstpp) | ^ skyfiltmenu.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | svf_setmaglimits (st, ss, ds, s) | ^ skyfiltmenu.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | svf_filter_ok (op) | ^ skyfiltmenu.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | svf_cursor (c) | ^ skyfiltmenu.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | svf_automag(fov) | ^ skyfiltmenu.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | svf_create_filter (mainrc, fcp) | ^ skyfiltmenu.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | svf_bright_ok(op) | ^ skyfiltmenu.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | svf_da_cb (w, client, call) | ^ skyfiltmenu.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | svf_draw_symbol(ftbp, daw) | ^ skyfiltmenu.c:813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | svf_magdrag_cb (w, client, call) | ^ skyfiltmenu.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | svf_apply_cb (w, client, call) | ^ skyfiltmenu.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | svf_ok_cb (w, client, call) | ^ skyfiltmenu.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | svf_close_cb (w, client, call) | ^ skyfiltmenu.c:861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | svf_help_cb (w, client, call) | ^ skyfiltmenu.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | svf_toggle_cb (w, client, call) | ^ skyfiltmenu.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | svf_all_cb (w, client, call) | ^ skyfiltmenu.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | svf_reset_cb (w, client, call) | ^ skyfiltmenu.c:928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | svf_cat_toggle_cb (w, client, call) | ^ skyfiltmenu.c:946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | am_cf (v1, v2) | ^ skyfiltmenu.c:970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | svf_initautomag(ampp) | ^ 22 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c skyfits.c skyfits.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | sf_cursor (c) | ^ skyfits.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | sf_getName (fn, on) | ^ skyfits.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | sf_ps (w, lr, tb) | ^ skyfits.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | sf_newPixmap (w, lr, tb) | ^ skyfits.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | gray_pixel (fp) | ^ skyfits.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | sf_doGlass (dsp, win, b1p, m1, lr, tb, wx, wy) | ^ skyfits.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | prepOpen (fn, errmsg) | ^ skyfits.c:631:17: warning: passing arguments to 'unlink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | (void) unlink (tmp); /* once open, remove the .fts copy */ | ^ skyfits.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | sf_readFile (name) | ^ skyfits.c:668:8: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | close (fd); | ^ skyfits.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | initFSB (fsb_w) | ^ skyfits.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | sharedDirCB (w, client, call) | ^ skyfits.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | privateDirCB (w, client, call) | ^ skyfits.c:1179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | initPubShared (rc_w, fsb_w) | ^ skyfits.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | sf_stsci_cb (w, client, call) | ^ skyfits.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | sf_eso_cb (w, client, call) | ^ skyfits.c:1239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | sf_save_cb (w, client, call) | ^ skyfits.c:1298:15: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | (void) close (fd); | ^ skyfits.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | sf_open_cb (w, client, call) | ^ skyfits.c:1372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | sf_close_cb (w, client, call) | ^ skyfits.c:1382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | sf_help_cb (w, client, call) | ^ skyfits.c:1398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | sf_motion_eh (w, client, ev, continue_to_dispatch) | ^ skyfits.c:1462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1462 | sf_exp_cb (w, client, call) | ^ skyfits.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | sf_gmlohi_cb (w, client, call) | ^ skyfits.c:1511:10: warning: cast to smaller integer type 'LowHi' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 1511 | lowhi = (LowHi)(client); | ^~~~~~~~~~~~~~~ skyfits.c:1533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | sf_wide_cb (w, client, call) | ^ skyfits.c:1557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1557 | sf_setdate_cb (w, client, call) | ^ skyfits.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | sf_narrow_cb (w, client, call) | ^ skyfits.c:1595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1595 | sf_gamma_cb (w, client, call) | ^ skyfits.c:1616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | sf_inv_cb (w, client, call) | ^ skyfits.c:1813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1813 | sf_setSaveName(newfn, usesuf) | ^ skyfits.c:1829:26: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 1829 | (void) sprintf (buf, "%.*s%s", f-fn, fn, newfn); | ~~^~ ~~~~ skyfits.c:1851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1851 | makeGlassImage (dsp) | ^ skyfits.c:1886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1886 | makeGlassGC (dsp, win) | ^ skyfits.c:1907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1907 | fillGlass (lr, tb, xc, yc) | ^ skyfits.c:1960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1960 | chk4str (str, buf) | ^ skyfits.c:1989:6: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1989 | if (pipe(gzfd) < 0) { | ^ skyfits.c:1998:16: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1998 | switch((pid = fork())) { | ^ skyfits.c:2000:12: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | close (gzfd[0]); /* do not need read side of pipe */ | ^ skyfits.c:2001:6: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2001 | dup2 (sockfd, 0); /* socket becomes gunzip's stdin */ | ^ skyfits.c:2002:12: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2002 | close (sockfd); /* do not need after dup */ | ^ skyfits.c:2004:12: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2004 | close (gzfd[1]); /* do not need after dup */ | ^ skyfits.c:2005:6: warning: call to undeclared function 'execlp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2005 | execlp ("gunzip", "gunzip", "-c", NULL); | ^ skyfits.c:2018:8: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2018 | close (gzfd[1]); /* do not need write side of pipe */ | ^ skyfits.c:2019:2: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2019 | dup2 (gzfd[0], sockfd); /* read side of pipe masquarades as socket */ | ^ skyfits.c:2020:8: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2020 | close (gzfd[0]); /* do not need after dup */ | ^ skyfits.c:2105:12: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2105 | close (sockfd); | ^ skyfits.c:2115:9: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2115 | close (sockfd); | ^ skyfits.c:2128:12: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2128 | close (sockfd); | ^ skyfits.c:2139:12: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2139 | close (sockfd); | ^ skyfits.c:2221:12: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2221 | close (sockfd); | ^ skyfits.c:2232:9: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2232 | close (sockfd); | ^ skyfits.c:2244:12: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2244 | close (sockfd); | ^ skyfits.c:2255:12: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2255 | close (sockfd); | ^ skyfits.c:2271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2271 | fits_read_cb (client, fd, id) | ^ skyfits.c:2284:12: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2284 | close (sockfd); | ^ skyfits.c:2304:8: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2304 | close (sockfd); | ^ skyfits.c:2350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2350 | newfim (fip) | ^ skyfits.c:2394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2394 | wcsok (fip) | ^ skyfits.c:2419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2419 | dsswcs (fip) | ^ skyfits.c:2468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2468 | dssxy2RADec (fip, X, Y, rap, decp) | ^ skyfits.c:2562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2562 | fitsObs(mjdp) | ^ 62 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c skyhist.c skyhist.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | svh_create (mb_w) | ^ skyhist.c:140:58: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 140 | XtAddCallback (w, XmNactivateCallback, svh_pick_cb, (XtPointer)i); | ^~~~~~~~~~~~ skyhist.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | svh_add_cb (w, client, call) | ^ skyhist.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | svh_delall_cb (w, client, call) | ^ skyhist.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | svh_delone_cb (w, client, call) | ^ skyhist.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | svh_pick_cb (w, client, call) | ^ skyhist.c:229:10: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 229 | int n = (int)client; | ^~~~~~~~~~~ skyhist.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | delone_setup (enable) | ^ skyhist.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | delete_one (n) | ^ skyhist.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | setup_pb (hp) | ^ 10 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c skylist.c skylist.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | sv_list_cb (w, client, call) | ^ skylist.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | sv_listclose_cb (w, client, call) | ^ skylist.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | sv_listhelp_cb (w, client, call) | ^ skylist.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | sv_txt_cb (w, client, call) | ^ skylist.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | sv_edb_cb (w, client, call) | ^ skylist.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | make_txt (name, how) | ^ skylist.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | write_txt (fp) | ^ skylist.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | make_edb (name, how) | ^ skylist.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | write_edb (fp) | ^ skylist.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | se_add (ra, dec, alt, az) | ^ skylist.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | se_getlist (ep) | ^ skylist.c:610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | se_eyepsz(wp, hp, rp, fp) | ^ skylist.c:841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | se_scale_fmt (s_w, l_w) | ^ skylist.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | se_hscale_cb (w, client, call) | ^ skylist.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | se_wscale_cb (w, client, call) | ^ skylist.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | se_delall_cb (w, client, call) | ^ skylist.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | se_close_cb (w, client, call) | ^ 17 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c skyviewmenu.c skyviewmenu.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | sv_update (np, how_much) | ^ skyviewmenu.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | sv_newobj(dbidx) | ^ skyviewmenu.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | sv_newdb(appended) | ^ skyviewmenu.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | svh_goto (hp) | ^ skyviewmenu.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | svh_get (hp) | ^ skyviewmenu.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | sv_point (op) | ^ skyviewmenu.c:855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | sv_id (op) | ^ skyviewmenu.c:866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | sv_cursor (c) | ^ skyviewmenu.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | sv_all(np) | ^ skyviewmenu.c:1005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | x_angle (op) | ^ skyviewmenu.c:1075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | sv_draw_obj (dsp, win, gc, op, x, y, diam, dotsonly) | ^ skyviewmenu.c:1508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1508 | sv_getcenter (aamodep, fovp, altp, azp, rap, decp) | ^ skyviewmenu.c:1527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | sv_getfldstars (fspp, nfsp) | ^ skyviewmenu.c:1545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | sv_mktrail (ts, statep, client) | ^ skyviewmenu.c:2031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2031 | sv_create_options (parent) | ^ skyviewmenu.c:2424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2424 | sv_create_op_lbl (rc_w) | ^ skyviewmenu.c:2558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2558 | sv_closeopdialog_cb (w, client, call) | ^ skyviewmenu.c:2569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2569 | sv_opdialog_cb (w, client, call) | ^ skyviewmenu.c:2582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2582 | sv_create_find (parent) | ^ skyviewmenu.c:2615:9: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2615 | (XtPointer)i); | ^~~~~~~~~~~~ skyviewmenu.c:2632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2632 | sv_close_cb (w, client, call) | ^ skyviewmenu.c:2644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2644 | sv_unmap_cb (w, client, call) | ^ skyviewmenu.c:2679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2679 | sv_help_cb (w, client, call) | ^ skyviewmenu.c:2699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2699 | sv_helpon_cb (w, client, call) | ^ skyviewmenu.c:2712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | sv_aa_cb (w, client, call) | ^ skyviewmenu.c:2722:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2722 | int which = (int)client; | ^~~~~~~~~~~ skyviewmenu.c:2788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2788 | sv_filter_cb (w, client, call) | ^ skyviewmenu.c:2807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2807 | sv_fits_cb (w, client, call) | ^ skyviewmenu.c:2823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2823 | sv_gt_cb (w, client, call) | ^ skyviewmenu.c:2839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2839 | sv_grid_cb (w, client, call) | ^ skyviewmenu.c:2868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2868 | sv_brs_cb (w, client, call) | ^ skyviewmenu.c:2879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2879 | sv_gridtf_cb (w, client, call) | ^ skyviewmenu.c:2921:16: warning: passing arguments to 'close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2921 | (void) close (infifo_fd); | ^ skyviewmenu.c:2938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2938 | sv_in_fifo_cb (w, client, call) | ^ skyviewmenu.c:2953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2953 | skyinfifo_cb (client, fdp, idp) | ^ skyviewmenu.c:2967:12: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2967 | nr = read (*fdp, buf, sizeof(buf)-1); | ^ skyviewmenu.c:3024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3024 | sv_loc_fifo_cb (w, client, call) | ^ skyviewmenu.c:3043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3043 | sv_print_cb (w, client, call) | ^ skyviewmenu.c:3098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3098 | sv_ps_annotate (np) | ^ skyviewmenu.c:3316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3316 | sv_track_cb (w, client, call) | ^ skyviewmenu.c:3331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3331 | sv_set_scale(which) | ^ skyviewmenu.c:3409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3409 | sv_set_fov(fov) | ^ skyviewmenu.c:3430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3430 | sv_da_exp_cb (w, client, call) | ^ skyviewmenu.c:3496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3496 | sv_magscale (dsp, win) | ^ skyviewmenu.c:3590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3590 | sv_da_motion_eh (w, client, ev, continue_to_dispatch) | ^ skyviewmenu.c:3743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3743 | sv_da_input_cb (w, client, call) | ^ skyviewmenu.c:3836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3836 | sv_scale_cb (w, client, call) | ^ skyviewmenu.c:3842:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 3842 | int which = (int) client; | ^~~~~~~~~~~~ skyviewmenu.c:3861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3861 | sv_zoom_cb (w, client, call) | ^ skyviewmenu.c:3877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3877 | sv_lbln_cb (w, client, call) | ^ skyviewmenu.c:3898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3898 | sv_lblm_cb (w, client, call) | ^ skyviewmenu.c:3920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3920 | sv_option_cb (w, client, call) | ^ skyviewmenu.c:3969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3969 | sv_eyep_cb (w, client, call) | ^ skyviewmenu.c:3985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3985 | sv_finding_cb (wid, client, call) | ^ skyviewmenu.c:4017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4017 | sv_find_cb (w, client, call) | ^ skyviewmenu.c:4022:21: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 4022 | Obj *op = db_basic((int)client); | ^~~~~~~~~~~ skyviewmenu.c:4033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4033 | sv_read_scale (which) | ^ skyviewmenu.c:4098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4098 | sv_track_pm (dsp, win, minw, minh) | ^ skyviewmenu.c:4126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4126 | sv_draw_track_coords (altdec, azra, start_altdec, start_azra) | ^ skyviewmenu.c:4272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4272 | sv_mark (op, in_center, out_center, mark, below_msg, use_window, newfov) | ^ skyviewmenu.c:4376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4376 | sv_popup (ev, op, tsp) | ^ skyviewmenu.c:4594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4594 | sv_riset (op) | ^ skyviewmenu.c:4791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4791 | sv_create_zoomcascade (pd_w) | ^ skyviewmenu.c:4831:60: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 4831 | XtAddCallback (w, XmNactivateCallback, sv_pu_zoom_cb, (XtPointer)z); | ^~~~~~~~~~~~ skyviewmenu.c:4839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4839 | sv_create_objcascade (pd_w) | ^ skyviewmenu.c:4882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4882 | sv_create_labellr (pd_w) | ^ skyviewmenu.c:4925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4925 | sv_pu_activate_cb (w, client, call) | ^ skyviewmenu.c:4930:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 4930 | int code = (int)client; | ^~~~~~~~~~~ skyviewmenu.c:5024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5024 | sv_pu_zoom_cb (w, client, call) | ^ skyviewmenu.c:5029:15: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 5029 | int factor = (int)client; | ^~~~~~~~~~~ skyviewmenu.c:5044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5044 | sv_pu_trail_cb (wid, client, call) | ^ skyviewmenu.c:5077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5077 | sv_pu_label_cb (wid, client, call) | ^ skyviewmenu.c:5083:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 5083 | int side = (int)client; | ^~~~~~~~~~~ skyviewmenu.c:5111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5111 | sv_pu_track_cb (w, client, call) | ^ skyviewmenu.c:5151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5151 | tobj_rmobj (op) | ^ skyviewmenu.c:5184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5184 | tobj_addobj (op, nsky) | ^ skyviewmenu.c:5249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5249 | tobj_find (op) | ^ skyviewmenu.c:5354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5354 | sv_dbobjloc (op, xp, yp) | ^ skyviewmenu.c:5393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5393 | sv_trailobjloc (tsp, xp, yp) | ^ skyviewmenu.c:5413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5413 | sv_precheck (op) | ^ skyviewmenu.c:5433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5433 | sv_onscrn (op) | ^ skyviewmenu.c:5494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5494 | sv_loc (altdec, azra, xp, yp) | ^ skyviewmenu.c:5590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5590 | sv_unloc (x, y, altdecp, azrap) | ^ skyviewmenu.c:5691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5691 | sv_other (altdec, azra, aa, altdecp, azrap) | ^ skyviewmenu.c:5710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5710 | sv_fullwhere (np, altdec, azra, aa, altp, azp, rap, decp) | ^ skyviewmenu.c:5749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5749 | draw_allobjs (dsp, win) | ^ skyviewmenu.c:5876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5876 | niceStep (a, dp, np) | ^ skyviewmenu.c:5902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5902 | draw_grid(dsp, win, gc) | ^ skyviewmenu.c:6078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6078 | draw_hznmap (np, dsp, win, gc) | ^ skyviewmenu.c:6174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6174 | draw_ecliptic(np, dsp, win, gc) | ^ skyviewmenu.c:6253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6253 | draw_equator(np, dsp, win, gc) | ^ skyviewmenu.c:6309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6309 | draw_galactic(np, dsp, win, gc) | ^ skyviewmenu.c:6398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6398 | draw_cnsbounds(np, dsp, win) | ^ skyviewmenu.c:6527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6527 | draw_cns(np, dsp, win) | ^ skyviewmenu.c:6622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6622 | draw_cnsname (dsp, win, conid, minx, miny, maxx, maxy) | ^ skyviewmenu.c:6650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6650 | draw_label (win, gc, op, flags, x, y, d) | ^ skyviewmenu.c:6736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6736 | chk_greeklabel (name, glp, gcodep) | ^ skyviewmenu.c:6790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6790 | draw_eyep (dsp, win, gc) | ^ skyviewmenu.c:6888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6888 | objdiam(op) | ^ skyviewmenu.c:6953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6953 | sv_set_dashed_cnsgc (dsp, dashed) | ^ skyviewmenu.c:6978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6978 | segisvis (x1, y1, x2, y2, cx1, cy1, cx2, cy2) | ^ skyviewmenu.c:7060:14: warning: cast to smaller integer type 'ZoomOpt' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 7060 | ZoomOpt z = (ZoomOpt) client; | ^~~~~~~~~~~~~~~~ skyviewmenu.c:7052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7052 | zm_cb (w, client, call) | ^ skyviewmenu.c:7216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7216 | zm_unmap_cb (w, client, call) | ^ 104 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c solsysmenu.c solsysmenu.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | ss_update (np, how_much) | ^ solsysmenu.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | ss_newdb (appended) | ^ solsysmenu.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | ss_newobj (dbidx) | ^ solsysmenu.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | ss_cursor (c) | ^ solsysmenu.c:516:12: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 516 | (XtPointer)cp->id); | ^~~~~~~~~~~~~~~~~ solsysmenu.c:590:12: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 590 | (XtPointer)i); | ^~~~~~~~~~~~ solsysmenu.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | ss_trail_cb (w, client, call) | ^ solsysmenu.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | ss_activate_cb (w, client, call) | ^ solsysmenu.c:805:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 805 | int what = (int) client; | ^~~~~~~~~~~~ solsysmenu.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | ss_seo_cb (w, client, call) | ^ solsysmenu.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | ss_allb_cb (w, client, call) | ^ solsysmenu.c:911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | ss_obj_cb (w, client, call) | ^ solsysmenu.c:916:12: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 916 | int who = (int) client; | ^~~~~~~~~~~~ solsysmenu.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | ss_changed_cb (w, client, call) | ^ solsysmenu.c:947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | ss_close_cb (w, client, call) | ^ solsysmenu.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | ss_unmap_cb (w, client, call) | ^ solsysmenu.c:982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | ss_print_cb (w, client, call) | ^ solsysmenu.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | ss_ps_annotate (np) | ^ solsysmenu.c:1120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | ss_movie_cb (w, client, call) | ^ solsysmenu.c:1132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | ss_help_cb (w, client, call) | ^ solsysmenu.c:1152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | ss_helpon_cb (w, client, call) | ^ solsysmenu.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | ss_da_exp_cb (w, client, call) | ^ solsysmenu.c:1221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | ss_da_input_cb (w, client, call) | ^ solsysmenu.c:1295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | st_parallax_cb (w, client, call) | ^ solsysmenu.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | st_map_cb (wid, client, call) | ^ solsysmenu.c:1359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1359 | st_unmap_cb (w, client, call) | ^ solsysmenu.c:1377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | st_da_exp_cb (w, client, call) | ^ solsysmenu.c:1433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | st_da_input_cb (w, client, call) | ^ solsysmenu.c:1511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | ss_popup (ev) | ^ solsysmenu.c:2123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2123 | ss_allobj (dsp, stview, scale, selt, celt, selg, celg, nx, ny) | ^ solsysmenu.c:2233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2233 | ss_loc (hp, scale, selt, celt, selg, celg, nx, ny) | ^ solsysmenu.c:2291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2291 | ss_newtrail (ts, statep, client) | ^ solsysmenu.c:2348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2348 | hloc_reset (np) | ^ solsysmenu.c:2369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2369 | hloc_grow (dbidx) | ^ solsysmenu.c:2395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2395 | hloc_add (dbidx, np, lbl) | ^ solsysmenu.c:2466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2466 | ap_add (op, hp) | ^ solsysmenu.c:2499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | ap_label_cb (w, client, call) | ^ solsysmenu.c:2520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2520 | ap_mkobj_cb (w, client, call) | ^ solsysmenu.c:2525:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2525 | obj_set(pu.op, (int)client); | ^~~~~~~~~~~ solsysmenu.c:2533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2533 | ss_dv_cb (w, client, call) | ^ 40 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c srchmenu.c srchmenu.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | srch_selection_mode (whether) | ^ srchmenu.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | srch_selection (name) | ^ srchmenu.c:190:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | s = (*srch_f)(Mjd, v, tmincp); | ^ srchmenu.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | srch_eval(Mjd, tmincp) | ^ srchmenu.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | srch_log (name, value) | ^ srchmenu.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | srch_cursor (c) | ^ srchmenu.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | srch_set_buttons (whether) | ^ srchmenu.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | srch_set_a_button(pbw, whether) | ^ srchmenu.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | srch_use_cb (w, client, call) | ^ srchmenu.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | srch_newfunc_cb (w, client, call) | ^ srchmenu.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | srch_compile_cb (w, client, call) | ^ srchmenu.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | srch_help_cb (w, client, call) | ^ srchmenu.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | srch_clear_cb (w, client, call) | ^ srchmenu.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | srch_fields_cb (w, client, call) | ^ srchmenu.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | srch_close_cb (w, client, call) | ^ srchmenu.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | srch_acc_ok_cb (w, client, call) | ^ srchmenu.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | srch_acc_cb (wid, client, call) | ^ srchmenu.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | srch_goal_cb(w, client, call) | ^ srchmenu.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | srch_on_off_cb(w, client, call) | ^ srchmenu.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | srch_minmax(Mjd, v, tmincp) | ^ srchmenu.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | srch_solve0(Mjd, v, tmincp) | ^ srchmenu.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | srch_binary(Mjd, v, tmincp) | ^ 22 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c time.c time.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | set_t0 (np) | ^ time.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | time_fromsys (np) | ^ time.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | tz_fromsys (np) | ^ time.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | inc_mjd (np, inc, rtcflag) | ^ 4 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c tips.c tips.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | wtip (w, tip) | ^ tips.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | tip_init (dsp) | ^ tips.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | tip_new (w, s) | ^ tips.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | tip_reclaim (w) | ^ tips.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | tip_eh (w, c, e, cont) | ^ tips.c:233:12: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 233 | wantup = ((int)c == 1); | ^~~~~~ tips.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | tip_startup (tp) | ^ tips.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | timer_cb (client, id) | ^ tips.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | tip_up (tp) | ^ tips.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | tip_down(tp) | ^ tips.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | tip_destroy_cb (w, client, call) | ^ tips.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | tip_find (w) | ^ tips.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | tip_sf (a1, a2) | ^ 13 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c trailmenu.c trailmenu.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | tr_setup(title, hdr, init, cb, client) | ^ trailmenu.c:221:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | void tr_draw (dsp, win, gc, ticklen, tp, ltp, sp, lx, ly, x, y) | ^ trailmenu.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | create_form (title, hdr, init, cb, client) | ^ trailmenu.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | make_rb (rc_w, title, name, op, nop, savew) | ^ trailmenu.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | customint_cb (w, client, call) | ^ trailmenu.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | ok_cb (w, client, call) | ^ trailmenu.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | apply_cb (w, client, call) | ^ trailmenu.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | do_trails (tcp) | ^ trailmenu.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | get_options(tcp, statep) | ^ trailmenu.c:978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | unmap_cb (w, client, call) | ^ trailmenu.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | destroy_cb (w, client, call) | ^ trailmenu.c:1009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | close_cb (w, client, call) | ^ trailmenu.c:1025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | help_cb (w, client, call) | ^ trailmenu.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | draw_tickmark (ticklen, x1, y1, x2, y2, xsp) | ^ trailmenu.c:1076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1076 | draw_stamp (dsp, win, gc, tp, sp, ticklen, lx, ly, x, y) | ^ 15 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c uranusmenu.c uranusmenu.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | um_newdb (appended) | ^ uranusmenu.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | um_selection_mode (whether) | ^ uranusmenu.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | um_cursor (c) | ^ uranusmenu.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | um_set_buttons (whether) | ^ uranusmenu.c:809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | um_set_a_button(pbw, whether) | ^ uranusmenu.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | um_sstats_cb (w, client, call) | ^ uranusmenu.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | um_option_cb (w, client, call) | ^ uranusmenu.c:928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | um_scale_cb (w, client, call) | ^ uranusmenu.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | um_activate_cb (w, client, call) | ^ uranusmenu.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | ut_da_exp_cb (w, client, call) | ^ uranusmenu.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | ut_map_cb (wid, client, call) | ^ uranusmenu.c:1069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | ut_unmap_cb (w, client, call) | ^ uranusmenu.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | um_unmap_cb (w, client, call) | ^ uranusmenu.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | um_close_cb (w, client, call) | ^ uranusmenu.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | um_movie_cb (w, client, call) | ^ uranusmenu.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | um_da_exp_cb (w, client, call) | ^ uranusmenu.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | um_da_input_cb (w, client, call) | ^ uranusmenu.c:1221:10: warning: cast to smaller integer type 'SOIdx' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] 1221 | soidx = (SOIdx) client; | ^~~~~~~~~~~~~~ uranusmenu.c:1267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | um_fill_popup (sop) | ^ uranusmenu.c:1298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | um_help_cb (w, client, call) | ^ uranusmenu.c:1315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | um_helpon_cb (w, client, call) | ^ uranusmenu.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | um_locfifo_cb (w, client, call) | ^ uranusmenu.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | add_screenobj (soidx, op, x, y) | ^ uranusmenu.c:1372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | reset_screenobj(soidx) | ^ uranusmenu.c:1386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | close_screenobj (soidx, x, y) | ^ uranusmenu.c:1426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1426 | moonSVis(op, mdp) | ^ uranusmenu.c:1463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | moonEVis (mdp) | ^ uranusmenu.c:1475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | um_update (np, how_much) | ^ uranusmenu.c:1496:20: warning: passing arguments to 'uranus_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | uranus_data(mjd, uop, &usize, md); | ^ uranusmenu.c:1509:12: warning: passing arguments to 'moonradec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1509 | moonradec (usize, md); | ^ uranusmenu.c:1527:18: warning: passing arguments to 'um_draw_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | um_draw_map (uda_w, uop, usize, md); | ^ uranusmenu.c:1574:14: warning: passing arguments to 'make_gcs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1574 | make_gcs(w); | ^ uranusmenu.c:1544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1544 | um_draw_map (w, uop, usize, md) | ^ uranusmenu.c:1421:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1421 | static void um_draw_map (); | ^ uranusmenu.c:1720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1720 | make_gcs (w) | ^ uranusmenu.c:1422:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1422 | static void make_gcs (); | ^ uranusmenu.c:1752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1752 | u_calibline (dsp, win, gc, xc, yc, tag, tw, th, l) | ^ uranusmenu.c:1777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1777 | sky_background (win, w, h, fmag, ra0,dec0,scale,rad,fliptb,fliplr) | ^ uranusmenu.c:1847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | um_loadfs (ra, dec) | ^ uranusmenu.c:1876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1876 | moonradec (usize, md) | ^ uranusmenu.c:1420:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1420 | static void moonradec(); | ^ uranusmenu.c:1907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1907 | uranus_data(d, uop, usize, md) | ^ uranusmenu.c:1419:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1419 | static void uranus_data(); | ^ uranusmenu.c:1955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | use_bdl (JD, md) | ^ 44 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c usno.c usno.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | USNOSetup (cdp, wantgsc, msg) | ^ usno.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | USNOFetch (r0, d0, fov, fmag, opp, nopp, msg) | ^ 2 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c versionmenu.c versionmenu.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | v_cursor (c) | ^ versionmenu.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | fill_msg (w) | ^ versionmenu.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | v_unmap_cb (w, client, call) | ^ versionmenu.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | v_da_exp_cb (w, client, call) | ^ versionmenu.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | v_timer_cb (client, id) | ^ versionmenu.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | drawComet (dsp, win, gc, ang, rad, tlen, w, h) | ^ versionmenu.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | drawPlanet (dsp, win, gc, sx, sy, w, h) | ^ 7 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c wcs.c wcs.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | xy2RADec (fip, x, y, rap, decp) | ^ wcs.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | RADec2xy (fip, ra, dec, xp, yp) | ^ wcs.c:187:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | static int worldpos(xpix, ypix, xref, yref, xrefpix, yrefpix, xinc, yinc, rot, | ^ wcs.c:396:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | static int xypix(xpos, ypos, xref, yref, xrefpix, yrefpix, xinc, yinc, rot, | ^ 4 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xephem.c xephem.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | main(argc, argv) | ^ xephem.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | main_cursor (c) | ^ xephem.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | chk_args (argc, argv) | ^ xephem.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | create_xim (w, h) | ^ xephem.c:417:57: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 417 | (void) fprintf (stderr, "%s: Max size = %d\n", fn, sizeof(gif)); | ~~ ^~~~~~~~~~~ | %lu xephem.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | make_logo (rc) | ^ xephem.c:680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | make_pulldown (mb_w, pdmp) | ^ xephem.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | m_activate_cb (w, client, call) | ^ xephem.c:783:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 783 | int code = (int)client; | ^~~~~~~~~~~ xephem.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | make_examples_pullright (pulldown_w, cascade_w) | ^ xephem.c:939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | examples_cb (w, client, call) | ^ 11 warnings generated. cc -O2 -I../../libastro -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xmisc.c xmisc.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | set_something (w, resource, value) | ^ xmisc.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | get_something (w, resource, value) | ^ xmisc.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | get_xmstring (w, resource, txtp) | ^ xmisc.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | set_xmstring (w, resource, txt) | ^ xmisc.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | prompt_map_cb (w, client, call) | ^ xmisc.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | get_color_resource (w, cname, p) | ^ xmisc.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | obj_pickgc(op, w, gcp) | ^ xmisc.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | get_xmlabel_font (w, f) | ^ xmisc.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | getXResFont (rn) | ^ xmisc.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | get_views_font (dsp, fspp) | ^ xmisc.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | loadGreek (dsp, win, greekgcp, greekfspp) | ^ xmisc.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | gray_ramp (dsp, cm, pixp) | ^ xmisc.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | alloc_ramp (dsp, basep, cm, pix, maxn) | ^ xmisc.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | getXRes (name, def) | ^ xmisc.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | createCM(nnew) | ^ xmisc.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | checkCM(cm, nwant) | ^ xmisc.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | XCheck (app) | ^ 17 warnings generated. rm -f xephem cc -o xephem -O2 -L../../libastro -L/usr/X11R6/lib -L/usr/local/lib atlas.o bdl.o broadcast.o calmenu.o closemenu.o compiler.o constel.o datamenu.o db.o dbmenu.o earthmap.o earthmenu.o explodegif.o fallbacks.o fits.o formats.o fsmenu.o gsc.o gscnet.o helpmenu.o homeio.o jupmenu.o listmenu.o mainmenu.o marsmenu.o marsmmenu.o moonmenu.o moonnf.o msgmenu.o netmenu.o objmenu.o patchlevel.o plot_aux.o plotmenu.o ppm.o preferences.o progress.o ps.o query.o rotated.o satmenu.o sites.o skyfiltmenu.o skyfits.o skyhist.o skylist.o skyviewmenu.o solsysmenu.o srchmenu.o time.o tips.o trailmenu.o uranusmenu.o usno.o versionmenu.o wcs.o xephem.o xmisc.o -lXm -lXt -lSM -lICE -lXext -lX11 -lXdmcp -lXau -lastro -lm -Wl,-rpath,/usr/local/lib ld: warning: atlas.c(atlas.o:(msa_atlas)): warning: sprintf() is often misused, please use snprintf() ld: warning: db.c(db.o:(db_read)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: netmenu.c(netmenu.o:(httpGET)): warning: strcat() is almost always misused, please use strlcat() ld: warning: versionmenu.c(versionmenu.o:(version)): warning: rand() may return deterministic values, is that what you want? ld: warning: skyfits.c(skyfits.o:(sf_open_cb)): warning: tmpnam() possibly used unsafely; consider using mkstemp() rm -f xephem._man if test -z "" ; then cd `dirname xephem` && ln -s `basename xephem.man` `basename xephem._man`; else /usr/libexec/cpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xephem.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xephem._man; fi >>> Running package in astro/xephem at 1764630401.64 ===> astro/xephem ===> Faking installation for xephem-3.2.3p9 /exopi-obj/pobj/xephem-3.2.3/bin/install -d -m 755 /exopi-obj/pobj/xephem-3.2.3/fake-amd64/usr/local/lib/X11/xephem/auxil /exopi-obj/pobj/xephem-3.2.3/bin/install -d -m 755 /exopi-obj/pobj/xephem-3.2.3/fake-amd64/usr/local/lib/X11/xephem/catalogs /exopi-obj/pobj/xephem-3.2.3/bin/install -d -m 755 /exopi-obj/pobj/xephem-3.2.3/fake-amd64/usr/local/lib/X11/xephem/tools install -c xephem /exopi-obj/pobj/xephem-3.2.3/fake-amd64/usr/local/bin/xephem install in . done install -c -m 0444 xephem._man /exopi-obj/pobj/xephem-3.2.3/fake-amd64/usr/local/man/man1/xephem.1 install.man in . done ===> Building package for xephem-3.2.3p9 Create /exopi-cvs/ports/packages/amd64/all/xephem-3.2.3p9.tgz Creating package xephem-3.2.3p9 reading plist| checking dependencies| checking dependencies|x11/motif checksumming| checksumming| | 0% checksumming|* | 1% checksumming|** | 3% checksumming|*** | 4% checksumming|*** | 6% checksumming|**** | 7% checksumming|***** | 9% checksumming|****** | 10% checksumming|******* | 11% checksumming|******** | 13% checksumming|********* | 14% checksumming|********** | 16% checksumming|********** | 17% checksumming|*********** | 19% checksumming|************ | 20% checksumming|************* | 21% checksumming|************** | 23% checksumming|*************** | 24% checksumming|**************** | 26% checksumming|***************** | 27% checksumming|***************** | 29% checksumming|****************** | 30% checksumming|******************* | 31% checksumming|******************** | 33% checksumming|********************* | 34% checksumming|********************** | 36% checksumming|*********************** | 37% checksumming|************************ | 39% checksumming|************************ | 40% checksumming|************************* | 41% checksumming|************************** | 43% checksumming|*************************** | 44% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|****************************** | 49% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************** | 56% checksumming|*********************************** | 57% checksumming|************************************ | 59% checksumming|************************************* | 60% checksumming|************************************* | 61% checksumming|************************************** | 63% checksumming|*************************************** | 64% checksumming|**************************************** | 66% checksumming|***************************************** | 67% checksumming|****************************************** | 69% checksumming|******************************************* | 70% checksumming|******************************************** | 71% checksumming|******************************************** | 73% checksumming|********************************************* | 74% checksumming|********************************************** | 76% checksumming|*********************************************** | 77% checksumming|************************************************ | 79% checksumming|************************************************* | 80% checksumming|************************************************** | 81% checksumming|*************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 86% checksumming|***************************************************** | 87% checksumming|****************************************************** | 89% checksumming|******************************************************* | 90% checksumming|******************************************************** | 91% checksumming|********************************************************* | 93% checksumming|********************************************************** | 94% checksumming|********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*********************** | 36% archiving|************************ | 37% archiving|**************************** | 44% archiving|****************************** | 47% archiving|******************************* | 49% archiving|************************************** | 60% archiving|*************************************** | 61% archiving|******************************************** | 69% archiving|********************************************* | 71% archiving|************************************************* | 76% archiving|************************************************* | 77% archiving|******************************************************* | 87% archiving|******************************************************** | 87% archiving|********************************************************* | 89% archiving|*********************************************************** | 92% archiving|************************************************************** | 97% archiving|************************************************************** | 98% archiving|*************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************| 99% archiving|****************************************************************|100% >>> Running clean in astro/xephem at 1764630406.00 ===> astro/xephem ===> Cleaning for xephem-3.2.3p9 >>> Ended at 1764630406.24 max_stuck=0.00/depends=1.90/show-prepare-results=0.94/build=32.35/package=4.34/clean=0.29