summaryrefslogtreecommitdiff
path: root/usr.bin/sed/extern.h
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-08-02 15:35:53 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-08-02 15:35:53 +0000
commit249a8a8003098e796792e9c523d5211ba8018755 (patch)
tree28eb9f5b34b69220ddb6a8851690b7601c8f3e3c /usr.bin/sed/extern.h
parent27c9d425316339bed59b9669160deadb195ce443 (diff)
downloadsrc-test2-249a8a8003098e796792e9c523d5211ba8018755.tar.gz
src-test2-249a8a8003098e796792e9c523d5211ba8018755.zip
sed(1): Revert r303047 "cleanup" and therefore r303572.
While big, the change was meant to have no effect on behavior and instead so far we have found two regressions: one in the etcupdate tests and another one in the games/openttd port[1]. Revert to a known working state. We will likely have to split the patch in functional parts before bringing back the changes. PR: 195929 Reported by: danfe, madpilot [1]
Notes
Notes: svn path=/head/; revision=303662
Diffstat (limited to 'usr.bin/sed/extern.h')
-rw-r--r--usr.bin/sed/extern.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sed/extern.h b/usr.bin/sed/extern.h
index 85f10b62b1aa..f2bd71bacfa4 100644
--- a/usr.bin/sed/extern.h
+++ b/usr.bin/sed/extern.h
@@ -45,12 +45,12 @@ extern const char *fname, *outfname;
extern FILE *infile, *outfile;
extern int rflags; /* regex flags to use */
-void cfclose(struct s_command *, const struct s_command *);
+void cfclose(struct s_command *, struct s_command *);
void compile(void);
void cspace(SPACE *, const char *, size_t, enum e_spflag);
-const char *cu_fgets(int *);
+char *cu_fgets(char *, int, int *);
int mf_fgets(SPACE *, enum e_spflag);
int lastline(void);
void process(void);
void resetstate(void);
-char *strregerror(int, const regex_t *);
+char *strregerror(int, regex_t *);