remove system library prototypes

This commit is contained in:
Patrick Georgi
2025-12-08 22:39:35 +01:00
parent 1a524cb93a
commit de2c06c54d
14 changed files with 5 additions and 37 deletions

View File

@@ -66,6 +66,7 @@ SOFTWARE.
#include <stdio.h>
#include <sys/stat.h>
#include <time.h>
#include <math.h>
#include <Xm/GadgetP.h>
#include <Xm/ManagerP.h>
#include "ClockP.h"
@@ -321,7 +322,6 @@ ClockTick(
XtIntervalId *id )
{
DtClockGadget w = (DtClockGadget)client_data;
struct tm * localtime ();
struct tm tm;
time_t time_value;
char * time_ptr;
@@ -464,8 +464,6 @@ DrawLine (
{
double dblank_length = (double)blank_length, dlength = (double)length;
double angle, cosangle, sinangle;
double cos ();
double sin ();
int cx = w->clock.centerX, cy = w->clock.centerY, x1, y1, x2, y2;
/*
@@ -511,8 +509,6 @@ DrawHand(
double angle, cosangle, sinangle;
double ws, wc;
Position x, y, x1, y1, x2, y2;
double cos ();
double sin ();
/* A full circle is 2 PI radians.
* Angles are measured from 12 o'clock, clockwise increasing.