[brlcad-commits] SF.net SVN: brlcad: [30009] brlcad/trunk
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2008-01-20 17:09:31
|
Revision: 30009 http://brlcad.svn.sourceforge.net/brlcad/?rev=30009&view=rev Author: brlcad Date: 2008-01-20 09:09:34 -0800 (Sun, 20 Jan 2008) Log Message: ----------- more ws consistency cleanup with spaces after commas and K&R style consistency distinguishing language constructs (for|while|if|switch) from functions with a space. Modified Paths: -------------- brlcad/trunk/bench/pixcmp.c brlcad/trunk/include/anim.h brlcad/trunk/include/bn.h brlcad/trunk/include/bu.h brlcad/trunk/include/dm.h brlcad/trunk/include/fb.h brlcad/trunk/include/nmg.h brlcad/trunk/include/raytrace.h brlcad/trunk/include/rtgeom.h brlcad/trunk/include/solid.h brlcad/trunk/include/vector.h brlcad/trunk/include/vector_x86.h brlcad/trunk/include/vmath.h brlcad/trunk/include/wdb.h brlcad/trunk/misc/enigma/enigma.c brlcad/trunk/src/adrt/bench/bench.c brlcad/trunk/src/adrt/bench/main.c brlcad/trunk/src/adrt/isst/main.c brlcad/trunk/src/adrt/isst/observer.c brlcad/trunk/src/adrt/libcommon/canim.c brlcad/trunk/src/adrt/libcommon/cdb.c brlcad/trunk/src/adrt/libcommon/env.c brlcad/trunk/src/adrt/libcommon/pack.c brlcad/trunk/src/adrt/libcommon/unpack.c brlcad/trunk/src/adrt/librender/camera.c brlcad/trunk/src/adrt/librender/component.c brlcad/trunk/src/adrt/librender/cut.c brlcad/trunk/src/adrt/librender/depth.c brlcad/trunk/src/adrt/librender/flat.c brlcad/trunk/src/adrt/librender/flos.c brlcad/trunk/src/adrt/librender/grid.c brlcad/trunk/src/adrt/librender/hit.c brlcad/trunk/src/adrt/librender/normal.c brlcad/trunk/src/adrt/librender/path.c brlcad/trunk/src/adrt/librender/phong.c brlcad/trunk/src/adrt/librender/render_util.c brlcad/trunk/src/adrt/librender/spall.c brlcad/trunk/src/adrt/librender/surfel.c brlcad/trunk/src/adrt/libtexture/texture_bump.c brlcad/trunk/src/adrt/libtexture/texture_camo.c brlcad/trunk/src/adrt/libtexture/texture_checker.c brlcad/trunk/src/adrt/libtexture/texture_clouds.c brlcad/trunk/src/adrt/libtexture/texture_gradient.c brlcad/trunk/src/adrt/libtexture/texture_perlin.c brlcad/trunk/src/adrt/libtexture/texture_stack.c brlcad/trunk/src/adrt/libtie/tie.c brlcad/trunk/src/adrt/libtie/tie_define.h brlcad/trunk/src/adrt/libtie/tie_kdtree.c brlcad/trunk/src/adrt/libtienet/tienet_master.c brlcad/trunk/src/adrt/libtienet/tienet_slave.c brlcad/trunk/src/adrt/libtienet/tienet_util.c brlcad/trunk/src/adrt/libtienet/tienet_util.h brlcad/trunk/src/adrt/libutil/camera.c brlcad/trunk/src/adrt/libutil/display.c brlcad/trunk/src/adrt/libutil/image.c brlcad/trunk/src/adrt/libutil/rand.c brlcad/trunk/src/adrt/libutil/umath.c brlcad/trunk/src/adrt/libutil/umath.h brlcad/trunk/src/adrt/master/compnet.c brlcad/trunk/src/adrt/master/dispatcher.c brlcad/trunk/src/adrt/master/main.c brlcad/trunk/src/adrt/master/master.c brlcad/trunk/src/adrt/rise/master/dispatcher.c brlcad/trunk/src/adrt/rise/master/main.c brlcad/trunk/src/adrt/rise/master/master.c brlcad/trunk/src/adrt/rise/master/post.c brlcad/trunk/src/adrt/rise/observer/main.c brlcad/trunk/src/adrt/rise/observer/observer.c brlcad/trunk/src/adrt/rise/slave/main.c brlcad/trunk/src/adrt/rise/slave/slave.c brlcad/trunk/src/adrt/scripts/ptcloud.c brlcad/trunk/src/adrt/slave/load.c brlcad/trunk/src/adrt/slave/main.c brlcad/trunk/src/adrt/slave/slave.c brlcad/trunk/src/anim/anim_cascade.c brlcad/trunk/src/anim/anim_fly.c brlcad/trunk/src/anim/anim_hardtrack.c brlcad/trunk/src/anim/anim_keyread.c brlcad/trunk/src/anim/anim_lookat.c brlcad/trunk/src/anim/anim_offset.c brlcad/trunk/src/anim/anim_orient.c brlcad/trunk/src/anim/anim_script.c brlcad/trunk/src/anim/anim_sort.c brlcad/trunk/src/anim/anim_time.c brlcad/trunk/src/anim/anim_track.c brlcad/trunk/src/anim/anim_turn.c brlcad/trunk/src/anim/cattrack.c brlcad/trunk/src/anim/chan_add.c brlcad/trunk/src/anim/chan_mult.c brlcad/trunk/src/anim/chan_permute.c brlcad/trunk/src/burst/Hm.c brlcad/trunk/src/burst/HmGetc.c brlcad/trunk/src/burst/Sc.c brlcad/trunk/src/burst/burst.c brlcad/trunk/src/burst/burst.h brlcad/trunk/src/burst/error.c brlcad/trunk/src/burst/fb.c brlcad/trunk/src/burst/grid.c brlcad/trunk/src/burst/gridrotate.c brlcad/trunk/src/burst/idents.c brlcad/trunk/src/burst/paint.c brlcad/trunk/src/burst/plot.c brlcad/trunk/src/burst/prnt.c brlcad/trunk/src/burst/trie.c brlcad/trunk/src/burst/trie.h brlcad/trunk/src/burst/ui.c brlcad/trunk/src/burst/vecmath.h brlcad/trunk/src/bwish/cmd.c brlcad/trunk/src/bwish/input.c brlcad/trunk/src/canon/canonize.c brlcad/trunk/src/canon/canonlib.c brlcad/trunk/src/canon/chore.h brlcad/trunk/src/canon/ipuscan.c brlcad/trunk/src/canon/pix-ipu.c brlcad/trunk/src/canon/png-ipu.c brlcad/trunk/src/conv/asc-nmg.c brlcad/trunk/src/conv/asc2g.c brlcad/trunk/src/conv/asc2pix.c brlcad/trunk/src/conv/bot-bldxf.c brlcad/trunk/src/conv/bot-raw.c brlcad/trunk/src/conv/bot_shell-vtk.c brlcad/trunk/src/conv/comgeom/cvt.c brlcad/trunk/src/conv/comgeom/f2a.c brlcad/trunk/src/conv/comgeom/mat.c brlcad/trunk/src/conv/comgeom/read.c brlcad/trunk/src/conv/comgeom/region.c brlcad/trunk/src/conv/comgeom/solid.c brlcad/trunk/src/conv/comgeom/tools.c brlcad/trunk/src/conv/conv-vg2g.c brlcad/trunk/src/conv/cy-g.c brlcad/trunk/src/conv/dbupgrade.c brlcad/trunk/src/conv/dxf-g.c brlcad/trunk/src/conv/enf-g.c brlcad/trunk/src/conv/euclid-g.c brlcad/trunk/src/conv/euclid_format.c brlcad/trunk/src/conv/euclid_unformat.c brlcad/trunk/src/conv/fast4-g.c brlcad/trunk/src/conv/g-acad.c brlcad/trunk/src/conv/g-adrt.c brlcad/trunk/src/conv/g-dxf.c brlcad/trunk/src/conv/g-euclid.c brlcad/trunk/src/conv/g-euclid1.c brlcad/trunk/src/conv/g-nff.c brlcad/trunk/src/conv/g-nmg.c brlcad/trunk/src/conv/g-obj.c brlcad/trunk/src/conv/g-shell.rect.c brlcad/trunk/src/conv/g-stl.c brlcad/trunk/src/conv/g-tankill.c brlcad/trunk/src/conv/g-var.c brlcad/trunk/src/conv/g-vrml.c brlcad/trunk/src/conv/g-x3d.c brlcad/trunk/src/conv/g-xxx.c brlcad/trunk/src/conv/g-xxx_facets.c brlcad/trunk/src/conv/g2asc.c brlcad/trunk/src/conv/g4-g5.c brlcad/trunk/src/conv/g5-g4.c brlcad/trunk/src/conv/iges/add_face.c brlcad/trunk/src/conv/iges/add_inner_shell.c brlcad/trunk/src/conv/iges/add_loop.c brlcad/trunk/src/conv/iges/arrange.c brlcad/trunk/src/conv/iges/b-spline.c brlcad/trunk/src/conv/iges/block2.c brlcad/trunk/src/conv/iges/brep.c brlcad/trunk/src/conv/iges/brlabs.c brlcad/trunk/src/conv/iges/bubbleup.c brlcad/trunk/src/conv/iges/check_names.c brlcad/trunk/src/conv/iges/cone.c brlcad/trunk/src/conv/iges/conv_drawings.c brlcad/trunk/src/conv/iges/convassem.c brlcad/trunk/src/conv/iges/convinst.c brlcad/trunk/src/conv/iges/convsolids.c brlcad/trunk/src/conv/iges/convsurf.c brlcad/trunk/src/conv/iges/convtree.c brlcad/trunk/src/conv/iges/copytree.c brlcad/trunk/src/conv/iges/cyl.c brlcad/trunk/src/conv/iges/do_subfigs.c brlcad/trunk/src/conv/iges/docolor.c brlcad/trunk/src/conv/iges/ell.c brlcad/trunk/src/conv/iges/evalxform.c brlcad/trunk/src/conv/iges/extrudcirc.c brlcad/trunk/src/conv/iges/extrudcon.c brlcad/trunk/src/conv/iges/extrude.c brlcad/trunk/src/conv/iges/findp.c brlcad/trunk/src/conv/iges/freetree.c brlcad/trunk/src/conv/iges/g-iges.c brlcad/trunk/src/conv/iges/get_att.c brlcad/trunk/src/conv/iges/get_cnurb_curve.c brlcad/trunk/src/conv/iges/get_edge_list.c brlcad/trunk/src/conv/iges/get_iges_vertex.c brlcad/trunk/src/conv/iges/get_outer_shell.c brlcad/trunk/src/conv/iges/get_vertex.c brlcad/trunk/src/conv/iges/get_vertex_list.c brlcad/trunk/src/conv/iges/getcurve.c brlcad/trunk/src/conv/iges/iges.c brlcad/trunk/src/conv/iges/iges_struct.h brlcad/trunk/src/conv/iges/iges_types.c brlcad/trunk/src/conv/iges/main.c brlcad/trunk/src/conv/iges/make_face.c brlcad/trunk/src/conv/iges/make_nurb_face.c brlcad/trunk/src/conv/iges/makedir.c brlcad/trunk/src/conv/iges/makegroup.c brlcad/trunk/src/conv/iges/makemembers.c brlcad/trunk/src/conv/iges/matmult.c brlcad/trunk/src/conv/iges/orient_loops.c brlcad/trunk/src/conv/iges/planar_nurb.c brlcad/trunk/src/conv/iges/read_att.c brlcad/trunk/src/conv/iges/read_edge_list.c brlcad/trunk/src/conv/iges/read_vertex_list.c brlcad/trunk/src/conv/iges/readcnv.c brlcad/trunk/src/conv/iges/readcols.c brlcad/trunk/src/conv/iges/readdbl.c brlcad/trunk/src/conv/iges/readflt.c brlcad/trunk/src/conv/iges/readglobal.c brlcad/trunk/src/conv/iges/readint.c brlcad/trunk/src/conv/iges/readmatrix.c brlcad/trunk/src/conv/iges/readname.c brlcad/trunk/src/conv/iges/readrec.c brlcad/trunk/src/conv/iges/readstart.c brlcad/trunk/src/conv/iges/readstrg.c brlcad/trunk/src/conv/iges/readtime.c brlcad/trunk/src/conv/iges/readtree.c brlcad/trunk/src/conv/iges/recsize.c brlcad/trunk/src/conv/iges/revolve.c brlcad/trunk/src/conv/iges/showtree.c brlcad/trunk/src/conv/iges/sphere.c brlcad/trunk/src/conv/iges/spline.c brlcad/trunk/src/conv/iges/splinef.c brlcad/trunk/src/conv/iges/stack.c brlcad/trunk/src/conv/iges/summary.c brlcad/trunk/src/conv/iges/tor.c brlcad/trunk/src/conv/iges/treecheck.c brlcad/trunk/src/conv/iges/trimsurf.c brlcad/trunk/src/conv/iges/wedge.c brlcad/trunk/src/conv/jack/g-jack.c brlcad/trunk/src/conv/jack/jack-g.c brlcad/trunk/src/conv/nastran-g.c brlcad/trunk/src/conv/nmg-bot.c brlcad/trunk/src/conv/nmg-rib.c brlcad/trunk/src/conv/nmg-sgp.c brlcad/trunk/src/conv/off/g-off.c brlcad/trunk/src/conv/off/off-g.c brlcad/trunk/src/conv/patch/patch-g.c brlcad/trunk/src/conv/patch/rpatch.c brlcad/trunk/src/conv/pix2asc.c brlcad/trunk/src/conv/ply-g.c brlcad/trunk/src/conv/poly-bot.c brlcad/trunk/src/conv/proe-g.c brlcad/trunk/src/conv/stl-g.c brlcad/trunk/src/conv/tankill-g.c brlcad/trunk/src/conv/viewpoint-g.c brlcad/trunk/src/external/ProEngineer/proe-brl.c brlcad/trunk/src/external/Unigraphics/ug-g.c brlcad/trunk/src/external/Unigraphics/ug_misc.c brlcad/trunk/src/fb/bw-fb.c brlcad/trunk/src/fb/cat-fb.c brlcad/trunk/src/fb/cell-fb.c brlcad/trunk/src/fb/cmap-crunch.c brlcad/trunk/src/fb/cmap-fb.c brlcad/trunk/src/fb/fb-bw.c brlcad/trunk/src/fb/fb-cmap.c brlcad/trunk/src/fb/fb-fb.c brlcad/trunk/src/fb/fb-orle.c brlcad/trunk/src/fb/fb-pix.c brlcad/trunk/src/fb/fb-png.c brlcad/trunk/src/fb/fb-rle.c brlcad/trunk/src/fb/fbanim.c brlcad/trunk/src/fb/fbcbars.c brlcad/trunk/src/fb/fbclear.c brlcad/trunk/src/fb/fbcmap.c brlcad/trunk/src/fb/fbcmrot.c brlcad/trunk/src/fb/fbcolor.c brlcad/trunk/src/fb/fbfade.c brlcad/trunk/src/fb/fbframe.c brlcad/trunk/src/fb/fbfree.c brlcad/trunk/src/fb/fbgamma.c brlcad/trunk/src/fb/fbgammamod.c brlcad/trunk/src/fb/fbgrid.c brlcad/trunk/src/fb/fbhelp.c brlcad/trunk/src/fb/fblabel.c brlcad/trunk/src/fb/fbline.c brlcad/trunk/src/fb/fbpoint.c brlcad/trunk/src/fb/fbscanplot.c brlcad/trunk/src/fb/fbstretch.c brlcad/trunk/src/fb/fbzoom.c brlcad/trunk/src/fb/gif-fb.c brlcad/trunk/src/fb/gif2fb.c brlcad/trunk/src/fb/orle-fb.c brlcad/trunk/src/fb/pix-fb.c brlcad/trunk/src/fb/pixautosize.c brlcad/trunk/src/fb/pixflip-fb.c brlcad/trunk/src/fb/pl-fb.c brlcad/trunk/src/fb/png-fb.c brlcad/trunk/src/fb/pp-fb.c brlcad/trunk/src/fb/rle-fb.c brlcad/trunk/src/fb/spm-fb.c brlcad/trunk/src/fbed/char.c brlcad/trunk/src/fbed/empty.c brlcad/trunk/src/fbed/execshell.c brlcad/trunk/src/fbed/extern.h brlcad/trunk/src/fbed/fbed.c brlcad/trunk/src/fbed/fill_buf.c brlcad/trunk/src/fbed/getfont.c brlcad/trunk/src/fbed/getinput.c brlcad/trunk/src/fbed/loadfont.c brlcad/trunk/src/fbed/pos_pad.c brlcad/trunk/src/fbed/prnt.c brlcad/trunk/src/fbed/sgi_dep.c brlcad/trunk/src/fbed/squash.c brlcad/trunk/src/fbed/try.c brlcad/trunk/src/fbserv/fbserv.c brlcad/trunk/src/fbserv/server.c brlcad/trunk/src/gtools/beset/beset.c brlcad/trunk/src/gtools/beset/fitness.c brlcad/trunk/src/gtools/beset/population.c brlcad/trunk/src/gtools/beset/population.h brlcad/trunk/src/gtools/g_diff.c brlcad/trunk/src/gtools/g_lint.c brlcad/trunk/src/gtools/g_qa.c brlcad/trunk/src/halftone/main.c brlcad/trunk/src/halftone/sharpen.c brlcad/trunk/src/halftone/tonescale.c brlcad/trunk/src/irprep/all_sf.c brlcad/trunk/src/irprep/firpass.c brlcad/trunk/src/irprep/ir-X.c brlcad/trunk/src/irprep/ir-sgi.c brlcad/trunk/src/irprep/irdisp.c brlcad/trunk/src/irprep/pictsgi.c brlcad/trunk/src/irprep/pictx.c brlcad/trunk/src/irprep/secpass.c brlcad/trunk/src/irprep/see.c brlcad/trunk/src/irprep/see2.c brlcad/trunk/src/irprep/shapefact.c brlcad/trunk/src/irprep/showtherm.c brlcad/trunk/src/lgt/char.c brlcad/trunk/src/lgt/do_options.c brlcad/trunk/src/lgt/error.c brlcad/trunk/src/lgt/execshell.c brlcad/trunk/src/lgt/fb.c brlcad/trunk/src/lgt/getfont.c brlcad/trunk/src/lgt/grid_rotate.c brlcad/trunk/src/lgt/hmenu.c brlcad/trunk/src/lgt/ir.c brlcad/trunk/src/lgt/lgt.c brlcad/trunk/src/lgt/lgt_db.c brlcad/trunk/src/lgt/mat_db.c brlcad/trunk/src/lgt/octree.c brlcad/trunk/src/lgt/prnt.c brlcad/trunk/src/lgt/reflect.c brlcad/trunk/src/lgt/resource.c brlcad/trunk/src/lgt/sgi_dep.c brlcad/trunk/src/lgt/texture.c brlcad/trunk/src/lgt/trie.c brlcad/trunk/src/lgt/vecmath.h brlcad/trunk/src/libbn/anim.c brlcad/trunk/src/libbn/axis.c brlcad/trunk/src/libbn/bn_tcl.c brlcad/trunk/src/libbn/complex.c brlcad/trunk/src/libbn/font.c brlcad/trunk/src/libbn/fortran.c brlcad/trunk/src/libbn/list.c brlcad/trunk/src/libbn/mat.c brlcad/trunk/src/libbn/msr.c brlcad/trunk/src/libbn/noise.c brlcad/trunk/src/libbn/plane.c brlcad/trunk/src/libbn/plot3.c brlcad/trunk/src/libbn/poly.c brlcad/trunk/src/libbn/qmath.c brlcad/trunk/src/libbn/rand.c brlcad/trunk/src/libbn/scale.c brlcad/trunk/src/libbn/sphmap.c brlcad/trunk/src/libbn/symbol.c brlcad/trunk/src/libbn/tabdata.c brlcad/trunk/src/libbn/tplot.c brlcad/trunk/src/libbn/vectfont.c brlcad/trunk/src/libbn/vector.c brlcad/trunk/src/libbn/vert_tree.c brlcad/trunk/src/libbn/wavelet.c brlcad/trunk/src/libbu/avs.c brlcad/trunk/src/libbu/badmagic.c brlcad/trunk/src/libbu/basename.c brlcad/trunk/src/libbu/bitv.c brlcad/trunk/src/libbu/bomb.c brlcad/trunk/src/libbu/bu_tcl.c brlcad/trunk/src/libbu/cmdhist.c brlcad/trunk/src/libbu/cmdhist_obj.c brlcad/trunk/src/libbu/convert.c brlcad/trunk/src/libbu/dirname.c brlcad/trunk/src/libbu/fgets.c brlcad/trunk/src/libbu/getopt.c brlcad/trunk/src/libbu/hash.c brlcad/trunk/src/libbu/hist.c brlcad/trunk/src/libbu/hook.c brlcad/trunk/src/libbu/htester.c brlcad/trunk/src/libbu/htond.c brlcad/trunk/src/libbu/htonf.c brlcad/trunk/src/libbu/image.c brlcad/trunk/src/libbu/kill.c brlcad/trunk/src/libbu/lex.c brlcad/trunk/src/libbu/linebuf.c brlcad/trunk/src/libbu/list.c brlcad/trunk/src/libbu/log.c brlcad/trunk/src/libbu/magic.c brlcad/trunk/src/libbu/malloc.c brlcad/trunk/src/libbu/mappedfile.c brlcad/trunk/src/libbu/parallel.c brlcad/trunk/src/libbu/parse.c brlcad/trunk/src/libbu/ptbl.c brlcad/trunk/src/libbu/semaphore.c brlcad/trunk/src/libbu/stat.c brlcad/trunk/src/libbu/str.c brlcad/trunk/src/libbu/units.c brlcad/trunk/src/libbu/vfont.c brlcad/trunk/src/libbu/vls.c brlcad/trunk/src/libcursor/cursor.c brlcad/trunk/src/libdm/clip.c brlcad/trunk/src/libdm/color.c brlcad/trunk/src/libdm/dm-X.c brlcad/trunk/src/libdm/dm-generic.c brlcad/trunk/src/libdm/dm-glx.c brlcad/trunk/src/libdm/dm-ogl.c brlcad/trunk/src/libdm/dm-pex.c brlcad/trunk/src/libdm/dm-plot.c brlcad/trunk/src/libdm/dm-ps.c brlcad/trunk/src/libdm/dm-tk.c brlcad/trunk/src/libdm/dm-wgl.c brlcad/trunk/src/libdm/dm_obj.c brlcad/trunk/src/libdm/knob.c brlcad/trunk/src/libdm/options.c brlcad/trunk/src/libdm/tcl.c brlcad/trunk/src/libfb/asize.c brlcad/trunk/src/libfb/fb_generic.c brlcad/trunk/src/libfb/fb_obj.c brlcad/trunk/src/libfb/fb_paged_io.c brlcad/trunk/src/libfb/fb_rect.c brlcad/trunk/src/libfb/fbserv_obj.c brlcad/trunk/src/libfb/if_4d.c brlcad/trunk/src/libfb/if_X.c brlcad/trunk/src/libfb/if_X24.c brlcad/trunk/src/libfb/if_ab.c brlcad/trunk/src/libfb/if_adage.c brlcad/trunk/src/libfb/if_ap.c brlcad/trunk/src/libfb/if_debug.c brlcad/trunk/src/libfb/if_disk.c brlcad/trunk/src/libfb/if_mem.c brlcad/trunk/src/libfb/if_null.c brlcad/trunk/src/libfb/if_ogl.c brlcad/trunk/src/libfb/if_ptty.c brlcad/trunk/src/libfb/if_rat.c brlcad/trunk/src/libfb/if_remote.c brlcad/trunk/src/libfb/if_sgi.c brlcad/trunk/src/libfb/if_sgiw.c brlcad/trunk/src/libfb/if_stack.c brlcad/trunk/src/libfb/if_sun.c brlcad/trunk/src/libfb/if_tk.c brlcad/trunk/src/libfb/if_ts.c brlcad/trunk/src/libfb/if_ug.c brlcad/trunk/src/libfb/if_wgl.c brlcad/trunk/src/libfb/tcl.c brlcad/trunk/src/libfft/ditsplit.c brlcad/trunk/src/libfft/ditsplitc.c brlcad/trunk/src/libfft/fftc.c brlcad/trunk/src/libfft/fftfast.c brlcad/trunk/src/libfft/ifftc.c brlcad/trunk/src/libfft/splitdit.c brlcad/trunk/src/libfft/splitditc.c brlcad/trunk/src/libmultispectral/sh_temp.c brlcad/trunk/src/liboptical/material.c brlcad/trunk/src/liboptical/photonmap.c brlcad/trunk/src/liboptical/refract.c brlcad/trunk/src/liboptical/sh_air.c brlcad/trunk/src/liboptical/sh_billboard.c brlcad/trunk/src/liboptical/sh_brdf.c brlcad/trunk/src/liboptical/sh_camo.c brlcad/trunk/src/liboptical/sh_cloud.c brlcad/trunk/src/liboptical/sh_cook.c brlcad/trunk/src/liboptical/sh_fire.c brlcad/trunk/src/liboptical/sh_flat.c brlcad/trunk/src/liboptical/sh_gauss.c brlcad/trunk/src/liboptical/sh_grass.c brlcad/trunk/src/liboptical/sh_light.c brlcad/trunk/src/liboptical/sh_noise.c brlcad/trunk/src/liboptical/sh_plastic.c brlcad/trunk/src/liboptical/sh_points.c brlcad/trunk/src/liboptical/sh_prj.c brlcad/trunk/src/liboptical/sh_rtrans.c brlcad/trunk/src/liboptical/sh_scloud.c brlcad/trunk/src/liboptical/sh_stack.c brlcad/trunk/src/liboptical/sh_stxt.c brlcad/trunk/src/liboptical/sh_tcl.c brlcad/trunk/src/liboptical/sh_text.c brlcad/trunk/src/liboptical/sh_treetherm.c brlcad/trunk/src/liboptical/shade.c brlcad/trunk/src/liboptical/wray.c brlcad/trunk/src/liborle/rle.c brlcad/trunk/src/libpkg/pkg.c brlcad/trunk/src/librt/bezier_2d_isect.c brlcad/trunk/src/librt/bigE.c brlcad/trunk/src/librt/binary_obj.c brlcad/trunk/src/librt/bomb.c brlcad/trunk/src/librt/bool.c brlcad/trunk/src/librt/bundle.c brlcad/trunk/src/librt/cmd.c brlcad/trunk/src/librt/comb.c brlcad/trunk/src/librt/cut.c brlcad/trunk/src/librt/db5_alloc.c brlcad/trunk/src/librt/db5_bin.c brlcad/trunk/src/librt/db5_comb.c brlcad/trunk/src/librt/db5_io.c brlcad/trunk/src/librt/db5_scan.c brlcad/trunk/src/librt/db_alloc.c brlcad/trunk/src/librt/db_anim.c brlcad/trunk/src/librt/db_comb.c brlcad/trunk/src/librt/db_flags.c brlcad/trunk/src/librt/db_inmem.c brlcad/trunk/src/librt/db_io.c brlcad/trunk/src/librt/db_lookup.c brlcad/trunk/src/librt/db_match.c brlcad/trunk/src/librt/db_open.c brlcad/trunk/src/librt/db_path.c brlcad/trunk/src/librt/db_scan.c brlcad/trunk/src/librt/db_tree.c brlcad/trunk/src/librt/db_walk.c brlcad/trunk/src/librt/dg_obj.c brlcad/trunk/src/librt/dir.c brlcad/trunk/src/librt/dspline.c brlcad/trunk/src/librt/fixpt.h brlcad/trunk/src/librt/fortray.c brlcad/trunk/src/librt/g_arb.c brlcad/trunk/src/librt/g_arbn.c brlcad/trunk/src/librt/g_ars.c brlcad/trunk/src/librt/g_bot.c brlcad/trunk/src/librt/g_bot_include.c brlcad/trunk/src/librt/g_cline.c brlcad/trunk/src/librt/g_dsp.c brlcad/trunk/src/librt/g_ebm.c brlcad/trunk/src/librt/g_ehy.c brlcad/trunk/src/librt/g_ell.c brlcad/trunk/src/librt/g_epa.c brlcad/trunk/src/librt/g_eto.c brlcad/trunk/src/librt/g_extrude.c brlcad/trunk/src/librt/g_grip.c brlcad/trunk/src/librt/g_half.c brlcad/trunk/src/librt/g_hf.c brlcad/trunk/src/librt/g_metaball.c brlcad/trunk/src/librt/g_nmg.c brlcad/trunk/src/librt/g_nurb.c brlcad/trunk/src/librt/g_part.c brlcad/trunk/src/librt/g_pg.c brlcad/trunk/src/librt/g_pipe.c brlcad/trunk/src/librt/g_rec.c brlcad/trunk/src/librt/g_rhc.c brlcad/trunk/src/librt/g_rpc.c brlcad/trunk/src/librt/g_sketch.c brlcad/trunk/src/librt/g_sph.c brlcad/trunk/src/librt/g_submodel.c brlcad/trunk/src/librt/g_superell.c brlcad/trunk/src/librt/g_tgc.c brlcad/trunk/src/librt/g_torus.c brlcad/trunk/src/librt/g_vol.c brlcad/trunk/src/librt/g_xxx.c brlcad/trunk/src/librt/htbl.c brlcad/trunk/src/librt/importFg4Section.c brlcad/trunk/src/librt/many.c brlcad/trunk/src/librt/mater.c brlcad/trunk/src/librt/memalloc.c brlcad/trunk/src/librt/mirror.c brlcad/trunk/src/librt/mkbundle.c brlcad/trunk/src/librt/nirt.c brlcad/trunk/src/librt/nmg_bool.c brlcad/trunk/src/librt/nmg_ck.c brlcad/trunk/src/librt/nmg_class.c brlcad/trunk/src/librt/nmg_eval.c brlcad/trunk/src/librt/nmg_extrude.c brlcad/trunk/src/librt/nmg_fcut.c brlcad/trunk/src/librt/nmg_fuse.c brlcad/trunk/src/librt/nmg_index.c brlcad/trunk/src/librt/nmg_info.c brlcad/trunk/src/librt/nmg_inter.c brlcad/trunk/src/librt/nmg_junk.c brlcad/trunk/src/librt/nmg_manif.c brlcad/trunk/src/librt/nmg_mesh.c brlcad/trunk/src/librt/nmg_misc.c brlcad/trunk/src/librt/nmg_mk.c brlcad/trunk/src/librt/nmg_mod.c brlcad/trunk/src/librt/nmg_plot.c brlcad/trunk/src/librt/nmg_pr.c brlcad/trunk/src/librt/nmg_pt_fu.c brlcad/trunk/src/librt/nmg_rt_isect.c brlcad/trunk/src/librt/nmg_rt_segs.c brlcad/trunk/src/librt/nmg_tri.c brlcad/trunk/src/librt/nmg_visit.c brlcad/trunk/src/librt/nurb_bezier.c brlcad/trunk/src/librt/nurb_bound.c brlcad/trunk/src/librt/nurb_c2.c brlcad/trunk/src/librt/nurb_copy.c brlcad/trunk/src/librt/nurb_eval.c brlcad/trunk/src/librt/nurb_example.c brlcad/trunk/src/librt/nurb_flat.c brlcad/trunk/src/librt/nurb_interp.c brlcad/trunk/src/librt/nurb_knot.c brlcad/trunk/src/librt/nurb_norm.c brlcad/trunk/src/librt/nurb_plot.c brlcad/trunk/src/librt/nurb_ray.c brlcad/trunk/src/librt/nurb_refine.c brlcad/trunk/src/librt/nurb_reverse.c brlcad/trunk/src/librt/nurb_solve.c brlcad/trunk/src/librt/nurb_split.c brlcad/trunk/src/librt/nurb_tess.c brlcad/trunk/src/librt/nurb_trim.c brlcad/trunk/src/librt/nurb_trim_util.c brlcad/trunk/src/librt/nurb_util.c brlcad/trunk/src/librt/nurb_xsplit.c brlcad/trunk/src/librt/oslo_calc.c brlcad/trunk/src/librt/parse.c brlcad/trunk/src/librt/pmalloc.c brlcad/trunk/src/librt/pr.c brlcad/trunk/src/librt/prep.c brlcad/trunk/src/librt/qray.c brlcad/trunk/src/librt/regionfix.c brlcad/trunk/src/librt/roots.c brlcad/trunk/src/librt/shoot.c brlcad/trunk/src/librt/spectrum.c brlcad/trunk/src/librt/storage.c brlcad/trunk/src/librt/table.c brlcad/trunk/src/librt/tcl.c brlcad/trunk/src/librt/timer-nt.c brlcad/trunk/src/librt/timer42.c brlcad/trunk/src/librt/timer52brl.c brlcad/trunk/src/librt/timerhep.c brlcad/trunk/src/librt/timerunix.c brlcad/trunk/src/librt/track.c brlcad/trunk/src/librt/tree.c brlcad/trunk/src/librt/vdraw.c brlcad/trunk/src/librt/view_obj.c brlcad/trunk/src/librt/vlist.c brlcad/trunk/src/librt/vshoot.c brlcad/trunk/src/librt/wdb.c brlcad/trunk/src/librt/wdb_comb_std.c brlcad/trunk/src/librt/wdb_obj.c brlcad/trunk/src/librtserver/rtserver.c brlcad/trunk/src/librtserver/rtserverTest.c brlcad/trunk/src/libsysv/bsdselect.c brlcad/trunk/src/libsysv/strchr.c brlcad/trunk/src/libsysv/strdup.c brlcad/trunk/src/libtclcad/tclcadAutoPath.c brlcad/trunk/src/libtermio/termio.c brlcad/trunk/src/libwdb/arbn.c brlcad/trunk/src/libwdb/bot.c brlcad/trunk/src/libwdb/dynamic_geometry.c brlcad/trunk/src/libwdb/mater.c brlcad/trunk/src/libwdb/nurb.c brlcad/trunk/src/libwdb/pipe.c brlcad/trunk/src/libwdb/poly.c brlcad/trunk/src/libwdb/reg.c brlcad/trunk/src/libwdb/reg4.c brlcad/trunk/src/libwdb/spl.c brlcad/trunk/src/libwdb/strsol.c brlcad/trunk/src/libwdb/submodel.c brlcad/trunk/src/libwdb/units.c brlcad/trunk/src/libwdb/wdb.c brlcad/trunk/src/mged/adc.c brlcad/trunk/src/mged/anal.c brlcad/trunk/src/mged/animedit.c brlcad/trunk/src/mged/arb.c brlcad/trunk/src/mged/arbs.c brlcad/trunk/src/mged/attach.c brlcad/trunk/src/mged/axes.c brlcad/trunk/src/mged/bodyio.c brlcad/trunk/src/mged/buttons.c brlcad/trunk/src/mged/cad_boundp.c brlcad/trunk/src/mged/chgmodel.c brlcad/trunk/src/mged/chgtree.c brlcad/trunk/src/mged/chgview.c brlcad/trunk/src/mged/clone.c brlcad/trunk/src/mged/cmd.c brlcad/trunk/src/mged/color_scheme.c brlcad/trunk/src/mged/columns.c brlcad/trunk/src/mged/dir.c brlcad/trunk/src/mged/dm-generic.c brlcad/trunk/src/mged/dm-plot.c brlcad/trunk/src/mged/dodraw.c brlcad/trunk/src/mged/doevent.c brlcad/trunk/src/mged/dozoom.c brlcad/trunk/src/mged/edarb.c brlcad/trunk/src/mged/edars.c brlcad/trunk/src/mged/edpipe.c brlcad/trunk/src/mged/edsol.c brlcad/trunk/src/mged/facedef.c brlcad/trunk/src/mged/fbserv.c brlcad/trunk/src/mged/ged.c brlcad/trunk/src/mged/ged.h brlcad/trunk/src/mged/grid.c brlcad/trunk/src/mged/hideline.c brlcad/trunk/src/mged/history.c brlcad/trunk/src/mged/htmlLibraryUi.h brlcad/trunk/src/mged/inside.c brlcad/trunk/src/mged/mater.c brlcad/trunk/src/mged/memalloc.c brlcad/trunk/src/mged/menu.c brlcad/trunk/src/mged/mgdev.h brlcad/trunk/src/mged/mged_dm.h brlcad/trunk/src/mged/mover.c brlcad/trunk/src/mged/muves.c brlcad/trunk/src/mged/overlay.c brlcad/trunk/src/mged/plot.c brlcad/trunk/src/mged/points/process.c brlcad/trunk/src/mged/polyif.c brlcad/trunk/src/mged/predictor.c brlcad/trunk/src/mged/qray.c brlcad/trunk/src/mged/rect.c brlcad/trunk/src/mged/red.c brlcad/trunk/src/mged/rtif.c brlcad/trunk/src/mged/scroll.c brlcad/trunk/src/mged/set.c brlcad/trunk/src/mged/share.c brlcad/trunk/src/mged/solids_on_ray.c brlcad/trunk/src/mged/tedit.c brlcad/trunk/src/mged/titles.c brlcad/trunk/src/mged/track.c brlcad/trunk/src/mged/typein.c brlcad/trunk/src/mged/usepen.c brlcad/trunk/src/mged/utility1.c brlcad/trunk/src/mged/utility2.c brlcad/trunk/src/mged/vdraw.c brlcad/trunk/src/mged/vmathUi.h brlcad/trunk/src/mged/vrlink.c brlcad/trunk/src/mk/mk_bolt.c brlcad/trunk/src/mk/mk_gastank.c brlcad/trunk/src/mk/mk_handle.c brlcad/trunk/src/mk/mk_window.c brlcad/trunk/src/mk/mk_winfrm.c brlcad/trunk/src/mk/mk_wire.c brlcad/trunk/src/nirt/command.c brlcad/trunk/src/nirt/if.c brlcad/trunk/src/nirt/interact.c brlcad/trunk/src/nirt/nirt.c brlcad/trunk/src/nirt/parse_fmt.c brlcad/trunk/src/proc-db/brickwall.c brlcad/trunk/src/proc-db/clutter.c brlcad/trunk/src/proc-db/common.c brlcad/trunk/src/proc-db/contours.c brlcad/trunk/src/proc-db/ducks.h brlcad/trunk/src/proc-db/fence.c brlcad/trunk/src/proc-db/kurt.c brlcad/trunk/src/proc-db/masonry.c brlcad/trunk/src/proc-db/molecule.c brlcad/trunk/src/proc-db/patches.h brlcad/trunk/src/proc-db/pipe.c brlcad/trunk/src/proc-db/pipetest.c brlcad/trunk/src/proc-db/pix2g.c brlcad/trunk/src/proc-db/pyramid.c brlcad/trunk/src/proc-db/room.c brlcad/trunk/src/proc-db/sketch.c brlcad/trunk/src/proc-db/sphflake.c brlcad/trunk/src/proc-db/spltest.c brlcad/trunk/src/proc-db/tea.c brlcad/trunk/src/proc-db/tea_nmg.c brlcad/trunk/src/proc-db/terrain.c brlcad/trunk/src/proc-db/tube.c brlcad/trunk/src/proc-db/vegitation.c brlcad/trunk/src/remrt/ihost.c brlcad/trunk/src/remrt/remrt.c brlcad/trunk/src/remrt/rtsrv.c brlcad/trunk/src/rt/do.c brlcad/trunk/src/rt/hurt.c brlcad/trunk/src/rt/main.c brlcad/trunk/src/rt/opt.c brlcad/trunk/src/rt/read-rtlog.c brlcad/trunk/src/rt/reshoot.c brlcad/trunk/src/rt/rt_simple.c brlcad/trunk/src/rt/rtexample.c brlcad/trunk/src/rt/rtregis.c brlcad/trunk/src/rt/rtscale.c brlcad/trunk/src/rt/rtshot.c brlcad/trunk/src/rt/rtwalk.c brlcad/trunk/src/rt/sh_tcl.c brlcad/trunk/src/rt/view.c brlcad/trunk/src/rt/view_bot_faces.c brlcad/trunk/src/rt/viewarea.c brlcad/trunk/src/rt/viewcell.c brlcad/trunk/src/rt/viewcheck.c brlcad/trunk/src/rt/viewdir.c brlcad/trunk/src/rt/viewedge.c brlcad/trunk/src/rt/viewfrac.c brlcad/trunk/src/rt/viewg3.c brlcad/trunk/src/rt/viewhide.c brlcad/trunk/src/rt/viewpp.c brlcad/trunk/src/rt/viewrad.c brlcad/trunk/src/rt/viewrange.c brlcad/trunk/src/rt/viewray.c brlcad/trunk/src/rt/viewscat.c brlcad/trunk/src/rt/viewsil.c brlcad/trunk/src/rt/viewweight.c brlcad/trunk/src/rt/viewxray.c brlcad/trunk/src/rt/worker.c brlcad/trunk/src/rttherm/pixtest.c brlcad/trunk/src/rttherm/spectrum.c brlcad/trunk/src/rttherm/ssamp-bw.c brlcad/trunk/src/rttherm/ssampview.c brlcad/trunk/src/rttherm/viewtherm.c brlcad/trunk/src/sig/a-d.c brlcad/trunk/src/sig/butter.c brlcad/trunk/src/sig/bw-d.c brlcad/trunk/src/sig/c-d.c brlcad/trunk/src/sig/coswin.c brlcad/trunk/src/sig/d-a.c brlcad/trunk/src/sig/d-bw.c brlcad/trunk/src/sig/d-f.c brlcad/trunk/src/sig/d-i.c brlcad/trunk/src/sig/d-u.c brlcad/trunk/src/sig/d2-c.c brlcad/trunk/src/sig/damdf.c brlcad/trunk/src/sig/dauto.c brlcad/trunk/src/sig/dauto2.c brlcad/trunk/src/sig/dconv.c brlcad/trunk/src/sig/ddisp.c brlcad/trunk/src/sig/dfft.c brlcad/trunk/src/sig/dmod.c brlcad/trunk/src/sig/dpeak.c brlcad/trunk/src/sig/dsel.c brlcad/trunk/src/sig/dstat.c brlcad/trunk/src/sig/dwin.c brlcad/trunk/src/sig/f-d.c brlcad/trunk/src/sig/f-i.c brlcad/trunk/src/sig/fhor.c brlcad/trunk/src/sig/fhor2.c brlcad/trunk/src/sig/fhor3.c brlcad/trunk/src/sig/hamwin.c brlcad/trunk/src/sig/i-a.c brlcad/trunk/src/sig/i-d.c brlcad/trunk/src/sig/i-f.c brlcad/trunk/src/sig/ihist.c brlcad/trunk/src/sig/imod.c brlcad/trunk/src/sig/interp.c brlcad/trunk/src/sig/istat.c brlcad/trunk/src/sig/smod.c brlcad/trunk/src/sig/syn.c brlcad/trunk/src/sig/u-a.c brlcad/trunk/src/sig/u-bw.c brlcad/trunk/src/sig/u-d.c brlcad/trunk/src/sig/u-f.c brlcad/trunk/src/sig/umod.c brlcad/trunk/src/sig/ustat.c brlcad/trunk/src/tab/script-tab.c brlcad/trunk/src/tab/scriptsort.c brlcad/trunk/src/tab/tabinterp.c brlcad/trunk/src/tab/tabsub.c brlcad/trunk/src/tab/txyz-pl.c brlcad/trunk/src/util/alias-pix.c brlcad/trunk/src/util/ap-pix.c brlcad/trunk/src/util/bary.c brlcad/trunk/src/util/buffer.c brlcad/trunk/src/util/bw-a.c brlcad/trunk/src/util/bw-imp.c brlcad/trunk/src/util/bw-pix.c brlcad/trunk/src/util/bw-png.c brlcad/trunk/src/util/bw-ps.c brlcad/trunk/src/util/bw-rle.c brlcad/trunk/src/util/bw3-pix.c brlcad/trunk/src/util/bwcrop.c brlcad/trunk/src/util/bwdiff.c brlcad/trunk/src/util/bwfilter.c brlcad/trunk/src/util/bwhist.c brlcad/trunk/src/util/bwhisteq.c brlcad/trunk/src/util/bwmod.c brlcad/trunk/src/util/bwrot.c brlcad/trunk/src/util/bwscale.c brlcad/trunk/src/util/bwshrink.c brlcad/trunk/src/util/bwstat.c brlcad/trunk/src/util/cv.c brlcad/trunk/src/util/dbcp.c brlcad/trunk/src/util/decimate.c brlcad/trunk/src/util/dpix-pix.c brlcad/trunk/src/util/dsp_add.c brlcad/trunk/src/util/dunncolor.c brlcad/trunk/src/util/dunncomm.c brlcad/trunk/src/util/dunnsnap.c brlcad/trunk/src/util/files-tape.c brlcad/trunk/src/util/fix_polysolids.c brlcad/trunk/src/util/gencolor.c brlcad/trunk/src/util/hex.c brlcad/trunk/src/util/lowp.c brlcad/trunk/src/util/mac-pix.c brlcad/trunk/src/util/msrandom.c brlcad/trunk/src/util/mst.c brlcad/trunk/src/util/orle-pix.c brlcad/trunk/src/util/pcd-pix.c brlcad/trunk/src/util/pix-alias.c brlcad/trunk/src/util/pix-bw.c brlcad/trunk/src/util/pix-bw3.c brlcad/trunk/src/util/pix-orle.c brlcad/trunk/src/util/pix-png.c brlcad/trunk/src/util/pix-ppm.c brlcad/trunk/src/util/pix-ps.c brlcad/trunk/src/util/pix-rle.c brlcad/trunk/src/util/pix-spm.c brlcad/trunk/src/util/pix-sun.c brlcad/trunk/src/util/pix-yuv.c brlcad/trunk/src/util/pix3filter.c brlcad/trunk/src/util/pixbackgnd.c brlcad/trunk/src/util/pixbgstrip.c brlcad/trunk/src/util/pixblend.c brlcad/trunk/src/util/pixborder.c brlcad/trunk/src/util/pixbustup.c brlcad/trunk/src/util/pixcolors.c brlcad/trunk/src/util/pixcut.c brlcad/trunk/src/util/pixdiff.c brlcad/trunk/src/util/pixelswap.c brlcad/trunk/src/util/pixembed.c brlcad/trunk/src/util/pixfade.c brlcad/trunk/src/util/pixfields.c brlcad/trunk/src/util/pixfieldsep.c brlcad/trunk/src/util/pixfilter.c brlcad/trunk/src/util/pixhalve.c brlcad/trunk/src/util/pixhist.c brlcad/trunk/src/util/pixhist3d-pl.c brlcad/trunk/src/util/pixhist3d.c brlcad/trunk/src/util/pixinterp2x.c brlcad/trunk/src/util/pixmatte.c brlcad/trunk/src/util/pixmerge.c brlcad/trunk/src/util/pixrect.c brlcad/trunk/src/util/pixrot.c brlcad/trunk/src/util/pixsaturate.c brlcad/trunk/src/util/pixscale.c brlcad/trunk/src/util/pixshrink.c brlcad/trunk/src/util/pixstat.c brlcad/trunk/src/util/pixsubst.c brlcad/trunk/src/util/pixtile.c brlcad/trunk/src/util/pixuntile.c brlcad/trunk/src/util/pl-X.c brlcad/trunk/src/util/pl-asc.c brlcad/trunk/src/util/pl-dm.c brlcad/trunk/src/util/pl-hpgl.c brlcad/trunk/src/util/pl-pl.c brlcad/trunk/src/util/pl-ps.c brlcad/trunk/src/util/pl-sgi.c brlcad/trunk/src/util/pl-tek.c brlcad/trunk/src/util/plcolor.c brlcad/trunk/src/util/pldebug.c brlcad/trunk/src/util/plgetframe.c brlcad/trunk/src/util/plline2.c brlcad/trunk/src/util/plrot.c brlcad/trunk/src/util/plstat.c brlcad/trunk/src/util/png-bw.c brlcad/trunk/src/util/png-pix.c brlcad/trunk/src/util/png_info.c brlcad/trunk/src/util/query.c brlcad/trunk/src/util/remapid.c brlcad/trunk/src/util/rle-pix.c brlcad/trunk/src/util/sgi-pix.c brlcad/trunk/src/util/sun-pix.c brlcad/trunk/src/util/terrain.c brlcad/trunk/src/util/texturescale.c brlcad/trunk/src/util/ttcp.c brlcad/trunk/src/util/wavelet.c brlcad/trunk/src/util/xyz-pl.c brlcad/trunk/src/util/yuv-pix.c brlcad/trunk/src/vas4/status.c brlcad/trunk/src/vas4/vas4.c brlcad/trunk/src/vas4/vas_io.c brlcad/trunk/src/vdeck/cgarbs.c brlcad/trunk/src/vdeck/match.c brlcad/trunk/src/vdeck/parsarg.c brlcad/trunk/src/vdeck/vdeck.c brlcad/trunk/src/vdeck/vproc.c Modified: brlcad/trunk/bench/pixcmp.c =================================================================== --- brlcad/trunk/bench/pixcmp.c 2008-01-20 00:16:57 UTC (rev 30008) +++ brlcad/trunk/bench/pixcmp.c 2008-01-20 17:09:34 UTC (rev 30009) @@ -159,7 +159,7 @@ argv += optind; /* validate what is left over */ - if( argc < 1 || argc > 4) { + if ( argc < 1 || argc > 4) { fprintf(stderr, "ERROR: incorrect number of arguments provided\n\n"); usage(argv[0]); exit(OPTS_ERROR); Modified: brlcad/trunk/include/anim.h =================================================================== --- brlcad/trunk/include/anim.h 2008-01-20 00:16:57 UTC (rev 30008) +++ brlcad/trunk/include/anim.h 2008-01-20 17:09:34 UTC (rev 30009) @@ -43,12 +43,12 @@ #define VSUBUNIT(a, b, c) {VSUB2(a, b, c);\ VUNITIZE(a);} -#define FVSCAN(f, a) fscanf(f, "%lf %lf %lf", (a),(a)+1,(a)+2) -#define FMATSCAN(f, m) {FVSCAN(f,(m)); FVSCAN(f,(m)+4);\ - FVSCAN(f,(m)+8); FVSCAN(f,(m)+12);} -#define VSCAN(a) scanf("%lf %lf %lf", (a),(a)+1,(a)+2) -#define VPRINTS(t, a) printf("%s %f %f %f ", t,(a)[0],(a)[1],(a)[2]) -#define VPRINTN(t, a) printf("%s %f %f %f\n", t,(a)[0],(a)[1],(a)[2]) +#define FVSCAN(f, a) fscanf(f, "%lf %lf %lf", (a), (a)+1, (a)+2) +#define FMATSCAN(f, m) {FVSCAN(f, (m)); FVSCAN(f, (m)+4);\ + FVSCAN(f, (m)+8); FVSCAN(f, (m)+12);} +#define VSCAN(a) scanf("%lf %lf %lf", (a), (a)+1, (a)+2) +#define VPRINTS(t, a) printf("%s %f %f %f ", t, (a)[0], (a)[1], (a)[2]) +#define VPRINTN(t, a) printf("%s %f %f %f\n", t, (a)[0], (a)[1], (a)[2]) #define MAT_MOVE(m, n) MAT_COPY(m, n) @@ -57,10 +57,10 @@ typedef fastf_t mat3_t[9]; #define MAT3ZERO(m) {\ - int _j; for(_j=0;_j<9;_j++) m[_j]=0.0;} + int _j; for (_j=0;_j<9;_j++) m[_j]=0.0;} #define MAT3IDN(m) {\ - int _j; for(_j=0;_j<9;_j++) m[_j]=0.0;\ + int _j; for (_j=0;_j<9;_j++) m[_j]=0.0;\ m[0] = m[4] = m[8] = 1.0;} #define MAT3MUL(o, a, b) {\ @@ -75,16 +75,16 @@ (o)[8] = (a)[6]*(b)[2] + (a)[7]*(b)[5] + (a)[8]*(b)[8];} #define MAT3SUM(o, a, b) {\ - int _j; for(_j=0;_j<9;_j++) (o)[_j]=(a)[_j]+(b)[_j];} + int _j; for (_j=0;_j<9;_j++) (o)[_j]=(a)[_j]+(b)[_j];} #define MAT3DIF(o, a, b) {\ - int _j; for(_j=0;_j<9;_j++) (o)[_j]=(a)[_j]-(b)[_j];} + int _j; for (_j=0;_j<9;_j++) (o)[_j]=(a)[_j]-(b)[_j];} #define MAT3SCALE(o, a, s) {\ - int _j; for(_j=0;_j<9;_j++) (o)[_j]=(a)[_j] * (s);} + int _j; for (_j=0;_j<9;_j++) (o)[_j]=(a)[_j] * (s);} #define MAT3MOVE(o, a) {\ - int _j; for(_j=0;_j<9;_j++) (o)[_j] = (a)[_j];} + int _j; for (_j=0;_j<9;_j++) (o)[_j] = (a)[_j];} #define MAT3XVEC(u, m, v) {\ (u)[0] = (m)[0]*(v)[0] + (m)[1]*(v)[1] + (m)[2]*(v)[2];\ Modified: brlcad/trunk/include/bn.h =================================================================== --- brlcad/trunk/include/bn.h 2008-01-20 00:16:57 UTC (rev 30008) +++ brlcad/trunk/include/bn.h 2008-01-20 17:09:34 UTC (rev 30009) @@ -87,9 +87,9 @@ point_t a, b; vect_t diff; VSUB2( diff, a, b ); - if( MAGNITUDE(diff) < tol->dist ) a & b are the same. + if ( MAGNITUDE(diff) < tol->dist ) a & b are the same. or, more efficiently: - if( MAQSQ(diff) < tol->dist_sq ) + if ( MAQSQ(diff) < tol->dist_sq ) @endcode * perp & para establish the angular tolerance. * @@ -99,8 +99,8 @@ * For example: @code vect_t a, b; - if( fabs(VDOT(a, b)) >= tol->para ) a & b are parallel - if( fabs(VDOT(a, b)) <= tol->perp ) a & b are perpendicular + if ( fabs(VDOT(a, b)) >= tol->para ) a & b are parallel + if ( fabs(VDOT(a, b)) <= tol->perp ) a & b are perpendicular @endcode * * @note @@ -117,9 +117,9 @@ #define BN_TOL_MAGIC 0x98c734bb #define BN_CK_TOL(_p) BU_CKMAG(_p, BN_TOL_MAGIC, "bn_tol") -#define BN_VECT_ARE_PARALLEL(_dot,_tol) \ +#define BN_VECT_ARE_PARALLEL(_dot, _tol) \ (((_dot) < 0) ? ((-(_dot))>=(_tol)->para) : ((_dot) >= (_tol)->para)) -#define BN_VECT_ARE_PERP(_dot,_tol) \ +#define BN_VECT_ARE_PERP(_dot, _tol) \ (((_dot) < 0) ? ((-(_dot))<=(_tol)->perp) : ((_dot) <= (_tol)->perp)) #define BN_APPROXEQUAL(_a, _b, _tol) (fabs( (_a) - (_b) ) <= _tol->dist) @@ -371,7 +371,7 @@ (_d)[14] = (_s)[14];\ (_d)[15] = (_s)[15]; } /* -#define bn_mat_copy(_d,_s) (void)memcpy( (void *)_d, (const void *)(_s), sizeof(mat_t)) +#define bn_mat_copy(_d, _s) (void)memcpy( (void *)_d, (const void *)(_s), sizeof(mat_t)) */ @@ -571,14 +571,14 @@ (_p)->msr_doubles[--(_p)->msr_double_ptr] : \ bn_unif_double_fill(_p)) -#define BN_UNIF_CIRCLE(_p,_x,_y,_r) { \ +#define BN_UNIF_CIRCLE(_p, _x, _y, _r) { \ do { \ (_x) = 2.0*BN_UNIF_DOUBLE((_p)); \ (_y) = 2.0*BN_UNIF_DOUBLE((_p)); \ (_r) = (_x)*(_x)+(_y)*(_y); \ } while ((_r) >= 1.0); } -#define BN_UNIF_SPHERE(_p,_x,_y,_z,_r) { \ +#define BN_UNIF_SPHERE(_p, _x, _y, _z, _r) { \ do { \ (_x) = 2.0*BN_UNIF_DOUBLE(_p); \ (_y) = 2.0*BN_UNIF_DOUBLE(_p); \ @@ -1035,7 +1035,7 @@ /* wavelet.c */ #define CK_POW_2(dimen) { register unsigned long j; register int ok;\ - for (ok=0, j=0 ; j < sizeof(unsigned long) * 8 ; j++) { \ + for (ok=0, j=0; j < sizeof(unsigned long) * 8; j++) { \ if ( (unsigned long)(1<<j) == dimen) { ok = 1; break; } \ } \ if ( ! ok ) { \ @@ -1371,7 +1371,7 @@ /* Gets an bn_table, with x[] having size _nx+1 */ #ifndef NO_BOMBING_MACROS # define BN_GET_TABLE(_table, _nx) { \ - if( (_nx) < 1 ) bu_bomb("RT_GET_TABLE() _nx < 1\n"); \ + if ( (_nx) < 1 ) bu_bomb("RT_GET_TABLE() _nx < 1\n"); \ _table = (struct bn_table *)bu_calloc( 1, \ sizeof(struct bn_table) + sizeof(fastf_t)*(_nx), \ "struct bn_table" ); \ @@ -1575,12 +1575,12 @@ * The head of the doubly linked list can be just a "struct bu_list" head. * * To visit all the elements in the vlist: - * for( BU_LIST_FOR( vp, rt_vlist, hp ) ) { + * for ( BU_LIST_FOR( vp, rt_vlist, hp ) ) { * register int i; * register int nused = vp->nused; * register int *cmd = vp->cmd; * register point_t *pt = vp->pt; - * for( i = 0; i < nused; i++, cmd++, pt++ ) { + * for ( i = 0; i < nused; i++, cmd++, pt++ ) { * access( *cmd, *pt ); * access( vp->cmd[i], vp->pt[i] ); * } @@ -1595,7 +1595,7 @@ #define BN_VLIST_NULL ((struct bn_vlist *)0) #define BN_VLIST_MAGIC 0x98237474 #define BN_CK_VLIST(_p) BU_CKMAG((_p), BN_VLIST_MAGIC, "bn_vlist") -#define BN_CK_VLIST_TCL(_interp,_p) BU_CKMAG_TCL(_interp,(_p), BN_VLIST_MAGIC, "bn_vlist") +#define BN_CK_VLIST_TCL(_interp, _p) BU_CKMAG_TCL(_interp, (_p), BN_VLIST_MAGIC, "bn_vlist") /* Values for cmd[] */ #define BN_VLIST_LINE_MOVE 0 @@ -1615,7 +1615,7 @@ */ #define BN_GET_VLIST(_free_hd, p) {\ (p) = BU_LIST_FIRST( bn_vlist, (_free_hd) ); \ - if( BU_LIST_IS_HEAD( (p), (_free_hd) ) ) { \ + if ( BU_LIST_IS_HEAD( (p), (_free_hd) ) ) { \ (p) = (struct bn_vlist *)bu_malloc(sizeof(struct bn_vlist), "bn_vlist"); \ (p)->l.magic = BN_VLIST_MAGIC; \ } else { \ @@ -1630,11 +1630,11 @@ BU_LIST_APPEND_LIST( (_free_hd), (hd) ); \ } -#define BN_ADD_VLIST(_free_hd,_dest_hd, pnt, draw) { \ +#define BN_ADD_VLIST(_free_hd, _dest_hd, pnt, draw) { \ register struct bn_vlist *_vp; \ BU_CK_LIST_HEAD( _dest_hd ); \ _vp = BU_LIST_LAST( bn_vlist, (_dest_hd) ); \ - if( BU_LIST_IS_HEAD( _vp, (_dest_hd) ) || _vp->nused >= BN_VLIST_CHUNK ) { \ + if ( BU_LIST_IS_HEAD( _vp, (_dest_hd) ) || _vp->nused >= BN_VLIST_CHUNK ) { \ BN_GET_VLIST(_free_hd, _vp); \ BU_LIST_INSERT( (_dest_hd), &(_vp->l) ); \ } \ Modified: brlcad/trunk/include/bu.h =================================================================== --- brlcad/trunk/include/bu.h 2008-01-20 00:16:57 UTC (rev 30008) +++ brlcad/trunk/include/bu.h 2008-01-20 17:09:34 UTC (rev 30009) @@ -203,9 +203,9 @@ * @def BU_GETUNION(ptr, union_type) * Allocate storage for a union */ -#define BU_GETSTRUCT(_p,_str) \ +#define BU_GETSTRUCT(_p, _str) \ _p = (struct _str *)bu_calloc(1, sizeof(struct _str), #_str " (getstruct)" BU_FLSTR) -#define BU_GETUNION(_p,_unn) \ +#define BU_GETUNION(_p, _unn) \ _p = (union _unn *)bu_calloc(1, sizeof(union _unn), #_unn " (getunion)" BU_FLSTR) @@ -216,7 +216,7 @@ * Equivalent to BU_GETSTRUCT, except without the 'struct' Useful * for typedef'ed objects. */ -#define BU_GETTYPE(_p,_type) \ +#define BU_GETTYPE(_p, _type) \ _p = (_type *)bu_calloc(1, sizeof(_type), #_type " (gettype)" ) @@ -233,12 +233,12 @@ # define BU_CKMAG_TCL(_interp, _ptr, _magic, _str) #else # define BU_CKMAG(_ptr, _magic, _str) \ - if( !(_ptr) || ( ((long)(_ptr)) & (sizeof(long)-1) ) || \ + if ( !(_ptr) || ( ((long)(_ptr)) & (sizeof(long)-1) ) || \ *((unsigned long *)(_ptr)) != (unsigned long)(_magic) ) { \ bu_badmagic( (long *)(_ptr), (unsigned long)_magic, _str, __FILE__, __LINE__ ); \ } # define BU_CKMAG_TCL(_interp, _ptr, _magic, _str) \ - if( !(_ptr) || ( ((long)(_ptr)) & (sizeof(long)-1) ) || \ + if ( !(_ptr) || ( ((long)(_ptr)) & (sizeof(long)-1) ) || \ *((long *)(_ptr)) != (_magic) ) { \ bu_badmagic_tcl( (_interp), (long *)(_ptr), (unsigned long)_magic, _str, __FILE__, __LINE__ ); \ return TCL_ERROR; \ @@ -268,7 +268,7 @@ # define BU_ASSERT(_equation) #else # define BU_ASSERT(_equation) \ - if( !(_equation) ) { \ + if ( !(_equation) ) { \ bu_log("BU_ASSERT( " #_equation " ) failed, file %s, line %d\n", \ __FILE__, __LINE__ ); \ bu_bomb("BU_ASSERT failure\n"); \ @@ -276,12 +276,12 @@ #endif #ifdef NO_BOMBING_MACROS -# define BU_ASSERT_PTR(_lhs,_relation,_rhs) +# define BU_ASSERT_PTR(_lhs, _relation, _rhs) #else -# define BU_ASSERT_PTR(_lhs,_relation,_rhs) \ - if( !((_lhs) _relation (_rhs)) ) { \ +# define BU_ASSERT_PTR(_lhs, _relation, _rhs) \ + if ( !((_lhs) _relation (_rhs)) ) { \ bu_log("BU_ASSERT_PTR( " #_lhs #_relation #_rhs " ) failed, lhs=x%lx, rhs=x%lx, file %s, line %d\n", \ - (long)(_lhs), (long)(_rhs),\ + (long)(_lhs), (long)(_rhs), \ __FILE__, __LINE__ ); \ bu_bomb("BU_ASSERT_PTR failure\n"); \ } @@ -289,12 +289,12 @@ #ifdef NO_BOMBING_MACROS -# define BU_ASSERT_LONG(_lhs,_relation,_rhs) +# define BU_ASSERT_LONG(_lhs, _relation, _rhs) #else -# define BU_ASSERT_LONG(_lhs,_relation,_rhs) \ - if( !((_lhs) _relation (_rhs)) ) { \ +# define BU_ASSERT_LONG(_lhs, _relation, _rhs) \ + if ( !((_lhs) _relation (_rhs)) ) { \ bu_log("BU_ASSERT_LONG( " #_lhs #_relation #_rhs " ) failed, lhs=%ld, rhs=%ld, file %s, line %d\n", \ - (long)(_lhs), (long)(_rhs),\ + (long)(_lhs), (long)(_rhs), \ __FILE__, __LINE__ ); \ bu_bomb("BU_ASSERT_LONG failure\n"); \ } @@ -302,12 +302,12 @@ #ifdef NO_BOMBING_MACROS -# define BU_ASSERT_DOUBLE(_lhs,_relation,_rhs) +# define BU_ASSERT_DOUBLE(_lhs, _relation, _rhs) #else -# define BU_ASSERT_DOUBLE(_lhs,_relation,_rhs) \ - if( !((_lhs) _relation (_rhs)) ) { \ +# define BU_ASSERT_DOUBLE(_lhs, _relation, _rhs) \ + if ( !((_lhs) _relation (_rhs)) ) { \ bu_log("BU_ASSERT_DOUBLE( " #_lhs #_relation #_rhs " ) failed, lhs=%lf, rhs=%lf, file %s, line %d\n", \ - (double)(_lhs), (double)(_rhs),\ + (double)(_lhs), (double)(_rhs), \ __FILE__, __LINE__ ); \ bu_bomb("BU_ASSERT_DOUBLE failure\n"); \ } @@ -508,7 +508,7 @@ #define BU_LIST_CLOSE( hp ) { \ BU_ASSERT( (hp) != NULL ); \ - if( (hp) == NULL ) \ + if ( (hp) == NULL ) \ return; \ BU_ASSERT( BU_LIST_IS_EMPTY( (hp) ) ); \ bu_list_free( (hp) ); \ @@ -597,7 +597,7 @@ * BU_LIST_APPEND_LIST places src_hd elements at end of dest_hd list. */ #define BU_LIST_INSERT_LIST(dest_hp, src_hp) \ - if( BU_LIST_NON_EMPTY(src_hp) ) { \ + if ( BU_LIST_NON_EMPTY(src_hp) ) { \ register struct bu_list *_first = (src_hp)->forw; \ register struct bu_list *_last = (src_hp)->back; \ (dest_hp)->forw->back = _last; \ @@ -608,7 +608,7 @@ } #define BU_LIST_APPEND_LIST(dest_hp, src_hp) \ - if( BU_LIST_NON_EMPTY(src_hp) ) {\ + if ( BU_LIST_NON_EMPTY(src_hp) ) {\ register struct bu_list *_first = (src_hp)->forw; \ register struct bu_list *_last = (src_hp)->back; \ _first->back = (dest_hp)->back; \ @@ -673,23 +673,23 @@ (((struct bu_list *)(p))->forw != (hp)) #define BU_LIST_EACH( hp, p, type ) \ - for( (p)=(type *)BU_LIST_FIRST(bu_list, hp); \ + for ( (p)=(type *)BU_LIST_FIRST(bu_list, hp); \ (p) && BU_LIST_NOT_HEAD(p, hp); \ (p)=(type *)BU_LIST_PNEXT(bu_list, p) ) \ #define BU_LIST_REVEACH( hp, p, type ) \ - for( (p)=(type *)BU_LIST_LAST(bu_list, hp); \ + for ( (p)=(type *)BU_LIST_LAST(bu_list, hp); \ (p) && BU_LIST_NOT_HEAD(p, hp); \ - (p)=(type *)BU_LIST_PREV(bu_list,((struct bu_list *)(p))) ) \ + (p)=(type *)BU_LIST_PREV(bu_list, ((struct bu_list *)(p))) ) \ #define BU_LIST_TAIL( hp, start, p, type ) \ - for( (p)=(type *)start ; \ + for ( (p)=(type *)start; \ (p) && BU_LIST_NOT_HEAD(p, hp); \ - (p)=(type *)BU_LIST_PNEXT(bu_list,(p)) ) + (p)=(type *)BU_LIST_PNEXT(bu_list, (p)) ) /** - * Intended as innards for a for() loop to visit all nodes on list, e.g.: - * for( BU_LIST_FOR( p, structure, hp ) ) { + * Intended as innards for a for loop to visit all nodes on list, e.g.: + * for ( BU_LIST_FOR( p, structure, hp ) ) { * work_on( p ); * } */ @@ -713,7 +713,7 @@ (p)=BU_LIST_PNEXT_CIRC(structure, p) /* - * Intended as innards for a for() loop to visit elements of two lists + * Intended as innards for a for loop to visit elements of two lists * in tandem, e.g.: * for (BU_LIST_FOR2(p1, p2, structure, hp1, hp2) ) { * process( p1, p2 ); @@ -722,15 +722,15 @@ #define BU_LIST_FOR2(p1, p2, structure, hp1, hp2) \ (p1)=BU_LIST_FIRST(structure, hp1), \ (p2)=BU_LIST_FIRST(structure, hp2); \ - (p1) && BU_LIST_NOT_HEAD((struct bu_list *)(p1),(hp1)) && \ - (p2) && BU_LIST_NOT_HEAD((struct bu_list *)(p2),(hp2)); \ - (p1)=BU_LIST_NEXT(structure,(struct bu_list *)(p1)), \ - (p2)=BU_LIST_NEXT(structure,(struct bu_list *)(p2)) + (p1) && BU_LIST_NOT_HEAD((struct bu_list *)(p1), (hp1)) && \ + (p2) && BU_LIST_NOT_HEAD((struct bu_list *)(p2), (hp2)); \ + (p1)=BU_LIST_NEXT(structure, (struct bu_list *)(p1)), \ + (p2)=BU_LIST_NEXT(structure, (struct bu_list *)(p2)) /** - * Innards for a while() loop that constantly picks off the first element. + * Innards for a while loop that constantly picks off the first element. * Useful mostly for a loop that will dequeue every list element, e.g.: - * while( BU_LIST_WHILE(p, structure, hp) ) { + * while ( BU_LIST_WHILE(p, structure, hp) ) { *@n BU_LIST_DEQUEUE( &(p->l) ); *@n free( (char *)p ); *@n } @@ -761,13 +761,13 @@ /** Return pointer to circular next element; ie, ignoring the list head */ #define BU_LIST_PNEXT_CIRC(structure, p) \ ((BU_LIST_FIRST_MAGIC((struct bu_list *)(p)) == BU_LIST_HEAD_MAGIC) ? \ - BU_LIST_PNEXT_PNEXT(structure,(struct bu_list *)(p)) : \ + BU_LIST_PNEXT_PNEXT(structure, (struct bu_list *)(p)) : \ BU_LIST_PNEXT(structure, p) ) /** Return pointer to circular last element; ie, ignoring the list head */ #define BU_LIST_PPREV_CIRC(structure, p) \ ((BU_LIST_LAST_MAGIC((struct bu_list *)(p)) == BU_LIST_HEAD_MAGIC) ? \ - BU_LIST_PLAST_PLAST(structure,(struct bu_list *)(p)) : \ + BU_LIST_PLAST_PLAST(structure, (struct bu_list *)(p)) : \ BU_LIST_PLAST(structure, p) ) /** @@ -841,7 +841,7 @@ __asm__ __volatile__( "btl %2,%1\n\tsbbl %0,%0" :"=r" (oldbit) - :"m" (addr),"Ir" (nr)); + :"m" (addr), "Ir" (nr)); return oldbit; } #endif @@ -855,10 +855,10 @@ /* This is not done by default for performance reasons */ #ifdef NO_BOMBING_MACROS -# define BU_BITV_BITNUM_CHECK(_bv,_bit) +# define BU_BITV_BITNUM_CHECK(_bv, _bit) #else -# define BU_BITV_BITNUM_CHECK(_bv,_bit) /* Validate bit number */ \ - if( ((unsigned)(_bit)) >= (_bv)->nbits ) {\ +# define BU_BITV_BITNUM_CHECK(_bv, _bit) /* Validate bit number */ \ + if ( ((unsigned)(_bit)) >= (_bv)->nbits ) {\ bu_log("BU_BITV_BITNUM_CHECK bit number (%u) out of range (0..%u)\n", \ ((unsigned)(_bit)), (_bv)->nbits); \ bu_bomb("process self-terminating\n");\ @@ -866,10 +866,10 @@ #endif #ifdef NO_BOMBING_MACROS -# define BU_BITV_NBITS_CHECK(_bv,_nbits) +# define BU_BITV_NBITS_CHECK(_bv, _nbits) #else -# define BU_BITV_NBITS_CHECK(_bv,_nbits) /* Validate number of bits */ \ - if( ((unsigned)(_nbits)) > (_bv)->nbits ) {\ +# define BU_BITV_NBITS_CHECK(_bv, _nbits) /* Validate number of bits */ \ + if ( ((unsigned)(_nbits)) > (_bv)->nbits ) {\ bu_log("BU_BITV_NBITS_CHECK number of bits (%u) out of range (> %u)", \ ((unsigned)(_nbits)), (_bv)->nbits ); \ bu_bomb("process self-terminating"); \ @@ -894,12 +894,12 @@ { \ register int _wd; /* Current word number */ \ BU_CK_BITV(_bv); \ - for( _wd=BU_BITS2WORDS((_bv)->nbits)-1; _wd>=0; _wd-- ) { \ + for ( _wd=BU_BITS2WORDS((_bv)->nbits)-1; _wd>=0; _wd-- ) { \ register int _b; /* Current bit-in-word number */ \ register bitv_t _val; /* Current word value */ \ - if((_val = (_bv)->bits[_wd])==0) continue; \ - for(_b=0; _b < BITV_MASK+1; _b++, _val >>= 1 ) { \ - if( !(_val & 1) ) continue; + if ((_val = (_bv)->bits[_wd])==0) continue; \ + for (_b=0; _b < BITV_MASK+1; _b++, _val >>= 1 ) { \ + if ( !(_val & 1) ) continue; /** * This macro is valid only between a BU_BITV_LOOP_START/LOOP_END pair, @@ -908,8 +908,8 @@ #define BU_BITV_LOOP_INDEX ((_wd << BITV_SHIFT) | _b) #define BU_BITV_LOOP_END \ - } /* end for(_b) */ \ - } /* end for(_wd) */ \ + } /* end for (_b) */ \ + } /* end for (_wd) */ \ } /* end block */ /** @} */ @@ -937,9 +937,9 @@ #define BU_CK_HIST(_p) BU_CKMAG(_p, BU_HIST_MAGIC, "struct bu_hist") #define BU_HIST_TALLY( _hp, _val ) { \ - if( (_val) <= (_hp)->hg_min ) { \ + if ( (_val) <= (_hp)->hg_min ) { \ (_hp)->hg_bins[0]++; \ - } else if( (_val) >= (_hp)->hg_max ) { \ + } else if ( (_val) >= (_hp)->hg_max ) { \ (_hp)->hg_bins[(_hp)->hg_nbins]++; \ } else { \ (_hp)->hg_bins[(int)(((_val)-(_hp)->hg_min)/(_hp)->hg_clumpsize)]++; \ @@ -948,9 +948,9 @@ #define BU_HIST_TALLY_MULTIPLE( _hp, _val, _count ) { \ register int __count = (_count); \ - if( (_val) <= (_hp)->hg_min ) { \ + if ( (_val) <= (_hp)->hg_min ) { \ (_hp)->hg_bins[0] += __count; \ - } else if( (_val) >= (_hp)->hg_max ) { \ + } else if ( (_val) >= (_hp)->hg_max ) { \ (_hp)->hg_bins[(_hp)->hg_nbins] += __count; \ } else { \ (_hp)->hg_bins[(int)(((_val)-(_hp)->hg_min)/(_hp)->hg_clumpsize)] += __count; \ @@ -1002,12 +1002,12 @@ * A handy way to visit all the elements of the table is: * * struct edgeuse **eup; - * for( eup = (struct edgeuse **)BU_PTBL_LASTADDR(&eutab); + * for ( eup = (struct edgeuse **)BU_PTBL_LASTADDR(&eutab); * eup >= (struct edgeuse **)BU_PTBL_BASEADDR(&eutab); eup-- ) { * NMG_CK_EDGEUSE(*eup); * } * or - * for( BU_PTBL_FOR( eup, (struct edgeuse **), &eutab ) ) { + * for ( BU_PTBL_FOR( eup, (struct edgeuse **), &eutab ) ) { * NMG_CK_EDGEUSE(*eup); * } */ Modified: brlcad/trunk/include/dm.h =================================================================== --- brlcad/trunk/include/dm.h 2008-01-20 00:16:57 UTC (rev 30008) +++ brlcad/trunk/include/dm.h 2008-01-20 17:09:34 UTC (rev 30009) @@ -114,14 +114,14 @@ #define GET_DM(p, structure, w, hp) { \ register struct structure *tp; \ - for(BU_LIST_FOR(tp, structure, hp)) { \ - if(w == tp->win) { \ + for (BU_LIST_FOR(tp, structure, hp)) { \ + if (w == tp->win) { \ (p) = tp; \ break; \ } \ } \ \ - if(BU_LIST_IS_HEAD(tp, hp)) \ + if (BU_LIST_IS_HEAD(tp, hp)) \ p = (struct structure *)NULL; \ } @@ -148,11 +148,11 @@ #define DM_BLUE DM_BLUE_R, DM_BLUE_G, DM_BLUE_B #define DM_YELLOW DM_YELLOW_R, DM_YELLOW_G, DM_YELLOW_B #define DM_WHITE DM_WHITE_R, DM_WHITE_G, DM_WHITE_B -#define DM_COPY_COLOR(_dr,_dg,_db,_sr,_sg,_sb){\ +#define DM_COPY_COLOR(_dr, _dg, _db, _sr, _sg, _sb){\ (_dr) = (_sr);\ (_dg) = (_sg);\ (_db) = (_sb); } -#define DM_SAME_COLOR(_dr,_dg,_db,_sr,_sg,_sb)(\ +#define DM_SAME_COLOR(_dr, _dg, _db, _sr, _sg, _sb)(\ (_dr) == (_sr) &&\ (_dg) == (_sg) &&\ (_db) == (_sb)) @@ -256,31 +256,31 @@ void *dmo_drawLabelsHookClientData; }; -#define DM_OPEN(_type,_argc,_argv) dm_open(_type,_argc,_argv) +#define DM_OPEN(_type, _argc, _argv) dm_open(_type, _argc, _argv) #define DM_CLOSE(_dmp) _dmp->dm_close(_dmp) #define DM_DRAW_BEGIN(_dmp) _dmp->dm_drawBegin(_dmp) #define DM_DRAW_END(_dmp) _dmp->dm_drawEnd(_dmp) #define DM_NORMAL(_dmp) _dmp->dm_normal(_dmp) -#define DM_LOADMATRIX(_dmp,_mat,_eye) _dmp->dm_loadMatrix(_dmp,_mat,_eye) -#define DM_DRAW_STRING_2D(_dmp,_str,_x,_y,_size,_use_aspect)\ - _dmp->dm_drawString2D(_dmp,_str,_x,_y,_size,_use_aspect) -#define DM_DRAW_LINE_2D(_dmp,_x1,_y1,_x2,_y2) _dmp->dm_drawLine2D(_dmp,_x1,_y1,_x2,_y2) -#define DM_DRAW_POINT_2D(_dmp,_x,_y) _dmp->dm_drawPoint2D(_dmp,_x,_y) -#define DM_DRAW_VLIST(_dmp,_vlist) _dmp->dm_drawVList(_dmp,_vlist) -#define DM_SET_FGCOLOR(_dmp,_r,_g,_b,_strict,_transparency) _dmp->dm_setFGColor(_dmp,_r,_g,_b,_strict,_transparency) -#define DM_SET_BGCOLOR(_dmp,_r,_g,_b) _dmp->dm_setBGColor(_dmp,_r,_g,_b) -#define DM_SET_LINE_ATTR(_dmp,_width,_dashed) _dmp->dm_setLineAttr(_dmp,_width,_dashed) +#define DM_LOADMATRIX(_dmp, _mat, _eye) _dmp->dm_loadMatrix(_dmp, _mat, _eye) +#define DM_DRAW_STRING_2D(_dmp, _str, _x, _y, _size, _use_aspect)\ + _dmp->dm_drawString2D(_dmp, _str, _x, _y, _size, _use_aspect) +#define DM_DRAW_LINE_2D(_dmp, _x1, _y1, _x2, _y2) _dmp->dm_drawLine2D(_dmp, _x1, _y1, _x2, _y2) +#define DM_DRAW_POINT_2D(_dmp, _x, _y) _dmp->dm_drawPoint2D(_dmp, _x, _y) +#define DM_DRAW_VLIST(_dmp, _vlist) _dmp->dm_drawVList(_dmp, _vlist) +#define DM_SET_FGCOLOR(_dmp, _r, _g, _b, _strict, _transparency) _dmp->dm_setFGColor(_dmp, _r, _g, _b, _strict, _transparency) +#define DM_SET_BGCOLOR(_dmp, _r, _g, _b) _dmp->dm_setBGColor(_dmp, _r, _g, _b) +#define DM_SET_LINE_ATTR(_dmp, _width, _dashed) _dmp->dm_setLineAttr(_dmp, _width, _dashed) #define DM_CONFIGURE_WIN(_dmp) _dmp->dm_configureWin(_dmp) -#define DM_SET_WIN_BOUNDS(_dmp,_w) _dmp->dm_setWinBounds(_dmp,_w) -#define DM_SET_LIGHT(_dmp,_on) _dmp->dm_setLight(_dmp,_on) -#define DM_SET_TRANSPARENCY(_dmp,_on) _dmp->dm_setTransparency(_dmp,_on) -#define DM_SET_DEPTH_MASK(_dmp,_on) _dmp->dm_setDepthMask(_dmp,_on) -#define DM_SET_ZBUFFER(_dmp,_on) _dmp->dm_setZBuffer(_dmp,_on) -#define DM_DEBUG(_dmp,_lvl) _dmp->dm_debug(_dmp,_lvl) -#define DM_BEGINDLIST(_dmp,_list) _dmp->dm_beginDList(_dmp,_list) +#define DM_SET_WIN_BOUNDS(_dmp, _w) _dmp->dm_setWinBounds(_dmp, _w) +#define DM_SET_LIGHT(_dmp, _on) _dmp->dm_setLight(_dmp, _on) +#define DM_SET_TRANSPARENCY(_dmp, _on) _dmp->dm_setTransparency(_dmp, _on) +#define DM_SET_DEPTH_MASK(_dmp, _on) _dmp->dm_setDepthMask(_dmp, _on) +#define DM_SET_ZBUFFER(_dmp, _on) _dmp->dm_setZBuffer(_dmp, _on) +#define DM_DEBUG(_dmp, _lvl) _dmp->dm_debug(_dmp, _lvl) +#define DM_BEGINDLIST(_dmp, _list) _dmp->dm_beginDList(_dmp, _list) #define DM_ENDDLIST(_dmp) _dmp->dm_endDList(_dmp) -#define DM_DRAWDLIST(_dmp,_list) _dmp->dm_drawDList(_dmp,_list) -#define DM_FREEDLISTS(_dmp,_list,_range) _dmp->dm_freeDLists(_dmp,_list,_range) +#define DM_DRAWDLIST(_dmp, _list) _dmp->dm_drawDList(_dmp, _list) +#define DM_FREEDLISTS(_dmp, _list, _range) _dmp->dm_freeDLists(_dmp, _list, _range) DM_EXPORT extern struct dm dm_Null; Modified: brlcad/trunk/include/fb.h =================================================================== --- brlcad/trunk/include/fb.h 2008-01-20 00:16:57 UTC (rev 30008) +++ brlcad/trunk/include/fb.h 2008-01-20 17:09:34 UTC (rev 30009) @@ -62,27 +62,27 @@ #define fb_poll(_ifp) (*_ifp->if_poll)(_ifp) #define fb_help(_ifp) (*_ifp->if_help)(_ifp) #define fb_free(_ifp) (*_ifp->if_free)(_ifp) -#define fb_clear(_ifp,_pp) (*_ifp->if_clear)(_ifp,_pp) -#define fb_read(_ifp,_x,_y,_pp,_ct) (*_ifp->if_read)(_ifp,_x,_y,_pp,_ct) -#define fb_write(_ifp,_x,_y,_pp,_ct) (*_ifp->if_write)(_ifp,_x,_y,_pp,_ct) -#define fb_rmap(_ifp,_cmap) (*_ifp->if_rmap)(_ifp,_cmap) -#define fb_wmap(_ifp,_cmap) (*_ifp->if_wmap)(_ifp,_cmap) -#define fb_view(_ifp,_xc,_yc,_xz,_yz) (*_ifp->if_view)(_ifp,_xc,_yc,_xz,_yz) -#define fb_getview(_ifp,_xcp,_ycp,_xzp,_yzp) \ - (*_ifp->if_getview)(_ifp,_xcp,_ycp,_xzp,_yzp) -#define fb_setcursor(_ifp,_bits,_xb,_yb,_xo,_yo) \ - (*_ifp->if_setcursor)(_ifp,_bits,_xb,_yb,_xo,_yo) -#define fb_cursor(_ifp,_mode,_x,_y) (*_ifp->if_cursor... [truncated message content] |