Changeset de22c3d for owl.c


Ignore:
Timestamp:
Dec 1, 2003, 2:28:22 PM (20 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:
d9b0b972
Parents:
2e76340
Message:
Formatting, version bump.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r2e76340 rde22c3d  
    3737owl_global g;
    3838
    39 int main(int argc, char **argv, char **env) {
     39int main(int argc, char **argv, char **env)
     40{
    4041  WINDOW *recwin, *sepwin, *typwin, *msgwin;
    4142  owl_editwin *tw;
     
    605606}
    606607
    607 void sig_handler(int sig, siginfo_t *si, void *data) {
     608void sig_handler(int sig, siginfo_t *si, void *data)
     609{
    608610  if (sig==SIGWINCH) {
    609611    /* we can't inturrupt a malloc here, so it just sets a flag
     
    619621}
    620622
    621 void usage() {
     623void usage()
     624{
    622625  fprintf(stderr, "Owl version %s\n", OWL_VERSION_STRING);
    623626  fprintf(stderr, "Usage: owl [-n] [-d] [-v] [-h] [-c <configfile>] [-t <ttyname>]\n");
     
    630633}
    631634
    632 
    633 
    634635#if OWL_STDERR_REDIR
    635636
    636637/* Replaces stderr with a pipe so that we can read from it.
    637638 * Returns the fd of the pipe from which stderr can be read. */
    638 int stderr_replace(void) {
     639int stderr_replace(void)
     640{
    639641  int pipefds[2];
    640642  if (0 != pipe(pipefds)) {
     
    653655
    654656/* Sends stderr (read from rfd) messages to a file */
    655 void stderr_redirect(int rfd) {
     657void stderr_redirect(int rfd)
     658{
    656659  int navail, bread;
    657660  char *buf;
Note: See TracChangeset for help on using the changeset viewer.