summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ba43e48)
fixes build failures on newer gcc versions
#if 0
static time_t timeconv(int hh, int mm, int ss, int mer);
static time_t daylcorr(time_t future, time_t now);
#if 0
static time_t timeconv(int hh, int mm, int ss, int mer);
static time_t daylcorr(time_t future, time_t now);
- static lookup(char *id);
+ static int lookup(char *id);
#else
static time_t timeconv();
static time_t daylcorr();
#else
static time_t timeconv();
static time_t daylcorr();
+int lookup(id) char *id;
{
#define gotit (yylval=i->value, i->type)
#define getid for(j=idvar, k=id; *j++ = *k++; )
{
#define gotit (yylval=i->value, i->type)
#define getid for(j=idvar, k=id; *j++ = *k++; )
Tk_Uid name = NULL; /* Initialization need only to prevent
* compiler warning. */
int new;
Tk_Uid name = NULL; /* Initialization need only to prevent
* compiler warning. */
int new;
+ static int autoNumber = 0;
char string[20];
if (!initialized) {
char string[20];
if (!initialized) {
#include "tkconfig.h"
#include "tkint.h"
#include "tkconfig.h"
#include "tkint.h"
+static int initialized = 0;
/*
* Forward references to procedures declared later in this file:
/*
* Forward references to procedures declared later in this file:
* Have statics in this module been initialized?
*/
* Have statics in this module been initialized?
*/
+static int initialized = 0;
/*
* Forward declarations for procedures defined later in this file:
/*
* Forward declarations for procedures defined later in this file:
Tk_Uid name = NULL; /* Initialization need only to prevent
* compiler warning. */
int new;
Tk_Uid name = NULL; /* Initialization need only to prevent
* compiler warning. */
int new;
+ static int autoNumber = 0;
char string[20];
if (!initialized) {
char string[20];
if (!initialized) {
* Have statics in this module been initialized?
*/
* Have statics in this module been initialized?
*/
+static int initialized = 0;
/*
* Context information used to map from X window id's to
/*
* Context information used to map from X window id's to