From: Paul Eggert Date: Sun, 24 Jul 2011 16:42:48 +0000 (-0700) Subject: ftell: don't include X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a53ff77a8c22f280146153ed37492ed260cdc34a;p=pspp ftell: don't include * lib/ftell.c: Don't include . is now guaranteed to define off_t, and the ftell module depends on the stdio module. --- diff --git a/ChangeLog b/ChangeLog index 63c0367648..bc6aef8f99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,6 +23,11 @@ 2011-07-24 Paul Eggert + ftell: don't include + * lib/ftell.c: Don't include . is now + guaranteed to define off_t, and the ftell module depends on the + stdio module. + ftell: do not assume wraparound signed arithmetic * lib/ftell.c: Include . (ftell): Don't assume wraparound signed arithmetic. diff --git a/lib/ftell.c b/lib/ftell.c index babba353ba..ebf0bb7b58 100644 --- a/lib/ftell.c +++ b/lib/ftell.c @@ -21,8 +21,6 @@ #include #include -/* Get off_t. */ -#include long ftell (FILE *fp)