Skip to content

Commit

Permalink
*/ missing space cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
smaclennan committed Dec 19, 2019
1 parent 0bdec10 commit 021b6d7
Show file tree
Hide file tree
Showing 24 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion bcmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

static char Lbufname[BUFNAMMAX + 1];

Expand Down
2 changes: 1 addition & 1 deletion bind.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

Byte Lfunc;

Expand Down
2 changes: 1 addition & 1 deletion cnames.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

/* For now it is a char. May be expanded later. */
#define AN '+' /* Arg Normal */
Expand Down
6 changes: 3 additions & 3 deletions commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

int Arg;
bool Argp;
Expand Down Expand Up @@ -90,7 +90,7 @@ void Zuppercase_word(void)

/* Move a block of chars around point and "from" to "to".
* Assumes point is before "from".
*/
*/
static void blockmove(struct mark *from, struct mark *to)
{
char tmp;
Expand Down Expand Up @@ -564,7 +564,7 @@ bool promptsave(zbuff_t *tbuff, bool must)
* If the user aborts a prompt, he is left in the buffer he aborted in
* and the routine returns false.
* Else the user returns to the buffer he started in.
*/
*/
bool saveall(bool must)
{
zbuff_t *tbuff, *bsave;
Expand Down
2 changes: 1 addition & 1 deletion comment.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

static bool Comstate;

Expand Down
2 changes: 1 addition & 1 deletion cursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

void Zbeginning_of_line(void)
{
Expand Down
2 changes: 1 addition & 1 deletion delete.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/


static struct buff *Killbuff;
Expand Down
2 changes: 1 addition & 1 deletion display.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/** @addtogroup zedit
* @{
*/
*/

static int innerdsp(int from, int to, struct mark *pmark);
static void modeflags(struct wdo *wdo);
Expand Down
4 changes: 2 additions & 2 deletions file.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/** @addtogroup zedit
* @{
*/
*/

static char Fname[PATHMAX + 1];
int raw_mode;
Expand Down Expand Up @@ -142,7 +142,7 @@ Load the file 'fname' into the current buffer.
Returns 0 successfully opened file
1 no such file
-1 on error
*/
*/
int zreadfile(char *fname)
{
struct stat sbuf;
Expand Down
2 changes: 1 addition & 1 deletion funcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

void (*Cmds[][2])() = {
{ Znotimpl, Znotimpl },
Expand Down
2 changes: 1 addition & 1 deletion getarg.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

#define PNUMCOLS 3 /* default columns for pout */
#define PCOLSIZE 26 /* default column size */
Expand Down
4 changes: 2 additions & 2 deletions getfname.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/** @addtogroup zedit
* @{
*/
*/

/* general linked list structure */
struct llist {
Expand Down Expand Up @@ -323,7 +323,7 @@ Returns -1 if the 'from' is a directory
2 if ~ specifier invalid
0 if all is well
NOTE: assumes a valid path (in particular /.. would not work)
*/
*/
#define Psep(c) ((c) == '/')

int pathfixup(char *to, char *from)
Expand Down
2 changes: 1 addition & 1 deletion help.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

static const char *key_label[] = {
"up", "down", "right", "left",
Expand Down
4 changes: 2 additions & 2 deletions life.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

#define SROWS (Rowmax - 2) /* Screen rows */
#define SCOLS (Colmax - 1) /* Screen columns */
Expand Down Expand Up @@ -251,7 +251,7 @@ static void init_matrix1(char *p1)
Go throught the current buffer and find any 'lives'. If a life is found,
convert the buffer character to a '*' and fill in matrix1. While going
though the buffer it is padded with spaces to fill SROWS * SCOLS
*/
*/
static void fill_matrix1(char *p1)
{
bool eol;
Expand Down
4 changes: 2 additions & 2 deletions shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

/* This is cleared indirectly in Zgrep/cmdtobuff via set_shell_mark()
* and set in Znexterror. If clear, the make buffer is scrolled
Expand Down Expand Up @@ -211,7 +211,7 @@ static char *wordit(char **str)

/* Invoke 'cmd' on a pipe.
* Returns true if the invocation succeeded.
*/
*/
static bool _cmdtobuff(zbuff_t *tbuff, const char *icmd)
{
char cmd[STRMAX + 1], *p, *argv[11];
Expand Down
2 changes: 1 addition & 1 deletion srch.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/** @addtogroup zedit
* @{
*/
*/

static int promptsearch(const char *prompt, int type);
static void promptreplace(int type);
Expand Down
2 changes: 1 addition & 1 deletion tags.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

static char Tagfile[PATHMAX];

Expand Down
2 changes: 1 addition & 1 deletion undo.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

#if defined(UNDO) && UNDO
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion varray.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

#define V(n) {(char *)n}

Expand Down
2 changes: 1 addition & 1 deletion vars.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

static void setavar(const char *vin, bool display);

Expand Down
2 changes: 1 addition & 1 deletion window.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** @addtogroup zedit
* @{
*/
*/

struct wdo *Whead, *Curwdo;

Expand Down
2 changes: 1 addition & 1 deletion z.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/** @addtogroup zedit
* @{
*/
*/

int verbose;
bool Initializing = true;
Expand Down
2 changes: 1 addition & 1 deletion zgrep.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/** @addtogroup zedit
* @{
*/
*/

static void grep_one(char *fname, regexp_t *re,
struct buff *inbuff, struct buff *outbuff)
Expand Down
4 changes: 2 additions & 2 deletions zterm.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/** @addtogroup zedit
* @{
*/
*/

int Colmax = EOF, Rowmax; /* Row and column maximums */

Expand Down Expand Up @@ -179,7 +179,7 @@ void tprntchar(Byte ichar)

/* Calculate the width of a character.
* The 'adjust' parameter adjusts for the end of line.
*/
*/
int chwidth(Byte ch, int col, bool adjust)
{
int wid;
Expand Down

0 comments on commit 021b6d7

Please sign in to comment.