summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/grep.h
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-04-21 22:52:18 +0000
committerpfg <pfg@FreeBSD.org>2014-04-21 22:52:18 +0000
commit2a89efd87b0945ce884c8ce6edf83e248c8f79d0 (patch)
treeffdd6f0dc2682783b82206edbcc2c24e90d57dcd /usr.bin/grep/grep.h
parent540cea4ebc7db0a742da16bad4078a2fdfc50695 (diff)
downloadFreeBSD-src-2a89efd87b0945ce884c8ce6edf83e248c8f79d0.zip
FreeBSD-src-2a89efd87b0945ce884c8ce6edf83e248c8f79d0.tar.gz
Various style(9) fixes and typos in grep, sort and patch.
MFC after: 3 days
Diffstat (limited to 'usr.bin/grep/grep.h')
-rw-r--r--usr.bin/grep/grep.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/usr.bin/grep/grep.h b/usr.bin/grep/grep.h
index 4ee348e..5613d39 100644
--- a/usr.bin/grep/grep.h
+++ b/usr.bin/grep/grep.h
@@ -39,48 +39,48 @@
#include "fastmatch.h"
#ifdef WITHOUT_NLS
-#define getstr(n) errstr[n]
+#define getstr(n) errstr[n]
#else
#include <nl_types.h>
extern nl_catd catalog;
-#define getstr(n) catgets(catalog, 1, n, errstr[n])
+#define getstr(n) catgets(catalog, 1, n, errstr[n])
#endif
extern const char *errstr[];
-#define VERSION "2.5.1-FreeBSD"
+#define VERSION "2.5.1-FreeBSD"
-#define GREP_FIXED 0
-#define GREP_BASIC 1
-#define GREP_EXTENDED 2
+#define GREP_FIXED 0
+#define GREP_BASIC 1
+#define GREP_EXTENDED 2
-#define BINFILE_BIN 0
-#define BINFILE_SKIP 1
-#define BINFILE_TEXT 2
+#define BINFILE_BIN 0
+#define BINFILE_SKIP 1
+#define BINFILE_TEXT 2
-#define FILE_STDIO 0
-#define FILE_MMAP 1
-#define FILE_GZIP 2
-#define FILE_BZIP 3
-#define FILE_XZ 4
-#define FILE_LZMA 5
+#define FILE_STDIO 0
+#define FILE_MMAP 1
+#define FILE_GZIP 2
+#define FILE_BZIP 3
+#define FILE_XZ 4
+#define FILE_LZMA 5
-#define DIR_READ 0
-#define DIR_SKIP 1
-#define DIR_RECURSE 2
+#define DIR_READ 0
+#define DIR_SKIP 1
+#define DIR_RECURSE 2
-#define DEV_READ 0
-#define DEV_SKIP 1
+#define DEV_READ 0
+#define DEV_SKIP 1
-#define LINK_READ 0
-#define LINK_EXPLICIT 1
-#define LINK_SKIP 2
+#define LINK_READ 0
+#define LINK_EXPLICIT 1
+#define LINK_SKIP 2
-#define EXCL_PAT 0
-#define INCL_PAT 1
+#define EXCL_PAT 0
+#define INCL_PAT 1
-#define MAX_LINE_MATCHES 32
+#define MAX_LINE_MATCHES 32
struct file {
int fd;
@@ -129,7 +129,7 @@ extern regex_t *er_pattern, *r_pattern;
extern fastmatch_t *fg_pattern;
/* For regex errors */
-#define RE_ERROR_BUF 512
+#define RE_ERROR_BUF 512
extern char re_error[RE_ERROR_BUF + 1]; /* Seems big enough */
/* util.c */
OpenPOWER on IntegriCloud