From 1d7147ff6ecef92cf10791c7286f278689dec7a0 Mon Sep 17 00:00:00 2001 From: Helmut Eller Date: Mon, 12 Dec 2016 16:39:17 +0100 Subject: [PATCH] Instead of hardcoding PF_SEEK_* constants use SEEK_* values from stdio.h. --- csrc/pf_io.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/csrc/pf_io.h b/csrc/pf_io.h index e03b034..c105e7a 100644 --- 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. -- 2.20.1