projects
/
debian
/
pforth
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb2f857
)
Instead of hardcoding PF_SEEK_* constants use SEEK_* values from stdio.h.
author
Helmut Eller
<eller.helmut@gmail.com>
Mon, 12 Dec 2016 15:39:17 +0000
(16:39 +0100)
committer
Helmut Eller
<eller.helmut@gmail.com>
Mon, 12 Dec 2016 15:49:13 +0000
(16:49 +0100)
csrc/pf_io.h
patch
|
blob
|
history
diff --git
a/csrc/pf_io.h
b/csrc/pf_io.h
index e03b034f19dfee3bae584e6b890002b12e814874..c105e7a57d44e1495352f81e72c63c9dcdaa549f 100644
(file)
--- a/
csrc/pf_io.h
+++ b/
csrc/pf_io.h
@@
-132,9
+132,9
@@
void ioTerm( void );
#define PF_STDIN ((FileStream *) stdin)
#define PF_STDOUT ((FileStream *) stdout)
- #define PF_SEEK_SET (
0
)
- #define PF_SEEK_CUR (
1
)
- #define PF_SEEK_END (
2
)
+ #define PF_SEEK_SET (
SEEK_SET
)
+ #define PF_SEEK_CUR (
SEEK_CUR
)
+ #define PF_SEEK_END (
SEEK_END
)
/*
** printf() is only used for debugging purposes.