summaryrefslogtreecommitdiff
path: root/usr.bin/grep/grep.h
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-02 05:43:07 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-02 05:43:07 -0500
commit18481510d9e6e3a6fec5e466d179bffe60d3acf8 (patch)
treee6dc941535a2c6c3bc21656bb40d5490239f86c0 /usr.bin/grep/grep.h
parent09863a10639de265b2299938a292bba15abc570a (diff)
downloaduserland-18481510d9e6e3a6fec5e466d179bffe60d3acf8.tar.gz
userland-18481510d9e6e3a6fec5e466d179bffe60d3acf8.tar.bz2
userland-18481510d9e6e3a6fec5e466d179bffe60d3acf8.tar.xz
userland-18481510d9e6e3a6fec5e466d179bffe60d3acf8.zip
usr.bin/grep: make buildable; needs more hammering to ensure proper functioning
Diffstat (limited to 'usr.bin/grep/grep.h')
-rw-r--r--usr.bin/grep/grep.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/usr.bin/grep/grep.h b/usr.bin/grep/grep.h
index b7ef7fa..7d50c61 100644
--- a/usr.bin/grep/grep.h
+++ b/usr.bin/grep/grep.h
@@ -40,14 +40,7 @@
#include <zlib.h>
#endif
-#ifdef WITHOUT_NLS
#define getstr(n) errstr[n]
-#else
-#include <nl_types.h>
-
-extern nl_catd catalog;
-#define getstr(n) catgets(catalog, 1, n, errstr[n])
-#endif
extern const char *errstr[];