🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by David J. MacKenzie Thu, 08 Oct 1992 22:25
spurious blank line from indent 1.6
#876
Author: David J. MacKenzie
Date: Thu, 08 Oct 1992 22:25
27 lines
1121 bytes
GNU indent 1.6 with args "-npro -gnu" gives for this input:

typedef struct PCB
{
  int pid;			/* Process ID.  */
  unsigned ss;		/* Current top of stack.  */
  unsigned sp;
  char *stackstart;	/* Start of stack, to free later.  */
  int argc;			/* Command line args, to free later.  */
  char **argv;
} PCB;

this output.  I don't think there's supposed to be a blank line before "PCB;".

typedef struct PCB
{
  int pid;			/* Process ID.  */
  unsigned ss;			/* Current top of stack.  */
  unsigned sp;
  char *stackstart;		/* Start of stack, to free later.  */
  int argc;			/* Command line args, to free later.  */
  char **argv;
}

PCB;

--David MacKenzie
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads