Skip to content

Commit

Permalink
tclXunixOS.c: remove floor()/ceil() declarations
Browse files Browse the repository at this point in the history
tclExtdInt.h includes tclXunixPort.h and in turn math.h,
which should already declare these functions.
  • Loading branch information
chrstphrchvz authored and bovine committed Jan 18, 2024
1 parent 2c0af95 commit a63dd57
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions unix/tclXunixOS.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,6 @@
#undef readdir
#endif

/*
* Cheat a little to avoid configure checking for floor and ceil being
* This breaks with GNU libc headers...really should check with autoconf.
*/
#ifndef __GNU_LIBRARY__
extern
double floor ();

extern
double ceil ();
#endif

/*
* Prototypes of internal functions.
*/
Expand Down

0 comments on commit a63dd57

Please sign in to comment.