Changeset ac70242 for codelist.pl


Ignore:
Timestamp:
Apr 20, 2003, 12:05:15 PM (22 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
69894d2
Parents:
801c7cb
Message:
Makefile.in: define DATADIR, for default owlconf.
Makefile.in: provide "all" and "install" rules.
configure.in: try also libdes and libkrb4, for people using heimdal
configure.in: see if des_ecb_encrypt is already prototyped.
configure.in: minor changes to work with new autoconf without needing acconfig.h.
configure.in: find the install program.
configure.in: test for use_default_colors since some versions of
  solaris don't have it, so we can at least compile something
  vaguely working there.
keypress.c: ifdefs for keys not defined on at least some solarises.
owl.c: don't call use_default_colors if we don't have it
readconfig.c: added *commented out* code to try to find a
  system-default owlconf if the user doesn't have one.  Have to
  ponder if I want this
zcrypt.c: don't prototype des_ecb_encrypt if there is a prototype in
  des.h.
zcrypt.c: include owl.h so we get the configure-generated config.h
Change to codelist.pl to deal with new code style
File:
1 edited

Legend:

Unmodified
Added
Removed
  • codelist.pl

    r1aee7d9 rac70242  
    1313    while (<FILE>) {
    1414        if (/^\S/
    15             && /\{\s*$/
     15            && (/\{\s*$/ || /\)\s*$/)
    1616            && !/\}/
    1717            && !/^\{/
    18             && !/^#include/
     18            && !/^#/
    1919            && !/^static/
    20             && !/^#define/
    2120            && !/\/\*/)
    22         {s/\s+\{/\;/; print "extern "; print;}
     21        {s/\s+\{/\;/; s/\)[ \t]*$/\)\;/; print "extern "; print;}
    2322           
    2423    }
Note: See TracChangeset for help on using the changeset viewer.