_DtHelpCeResolveSpcToAscii (
const char *spc_symbol)
{
- register int i = 0;
+ int i = 0;
if (NULL == spc_symbol)
return NULL;
char **ret_str_ptr,
Boolean *ret_flag )
{
- register int i = len;
+ int i = len;
/* check to see if we have the pattern of a bold + followed by a bold _
purpose is to eventually convert this to +/-
*****************************************************************************/
#define MyFree(x) if ((char *)(x) != NULL) free(x)
#define SaveRestoreMask(x,y) \
- { register int myI;\
+ { int myI;\
for (myI = 0; myI < SDL_MASK_LEN; myI++) \
x[myI] = y[myI]; \
}
#define MergeMasks(x,y) \
- { register int myI;\
+ { int myI;\
for (myI = 0; myI < SDL_MASK_LEN; myI++) \
x[myI] |= y[myI]; \
}
#define RemoveMasks(x,y) \
- { register int myI;\
+ { int myI;\
for (myI = 0; myI < SDL_MASK_LEN; myI++) \
x[myI] &= (~(y[myI])); \
}
#define MaskToValue(x,y) \
- { register int myI;\
- register SDLMask myMask;\
+ { int myI;\
+ SDLMask myMask;\
for (myI = 0, y = 0; myI < SDL_MASK_LEN; myI++) \
if (x[myI] == 0) \
y += SDL_MASK_SIZE; \
ElementInfo *cur_info,
_DtHelpFontHints *font_specs)
{
- register int i = 0;
+ int i = 0;
const SDLElementAttrList *myList;
const SDLAttribute *attrib;
char *varOffset;
pTerm->lines[y] = (wchar_t *) malloc (sizeof(wchar_t) * (length + 1));
if (pTerm->lines[y] != NULL)
{
- register int i;
+ int i;
wcStr = pTerm->lines[y];
_DtHelpProcessLock();
(sizeof(wchar_t) * (length + 1)));
if (pTerm->lines[y] != NULL)
{
- register int i;
+ int i;
wcStr = pTerm->lines[y];
_DtHelpProcessLock();
for (i = pTerm->wc_num[y]; i < x; i++)
DeallocateHyperArray(
DtHelpHyperLines *array_ptr )
{
- register DtHelpHyperLines *next = array_ptr;
+ DtHelpHyperLines *next = array_ptr;
if (array_ptr)
{
LWZReadByte(byte **inbuf, int flag, int input_code_size, GifState *g)
{
int code, incode;
- register int i;
+ int i;
if (flag) {
g->set_code_size = input_code_size;
NULL != fileList;
fileList = _DtHelpFileListGetNext(NULL,fileList) )
{
- register _DtHelpGlobSrchVol * vol=(_DtHelpGlobSrchVol *)fileList->clientData;
+ _DtHelpGlobSrchVol * vol=(_DtHelpGlobSrchVol *)fileList->clientData;
if (vol->showVolInList && (vol->hitCnt > 0 || vol->zeroHitsOk) )
break; /* BREAK */
vol->nextVolPosition += adjNextAmount;
NULL != fileList;
fileList = _DtHelpFileListGetNext(NULL,fileList) )
{
- register _DtHelpGlobSrchVol * vol = (_DtHelpGlobSrchVol *) fileList->clientData;
+ _DtHelpGlobSrchVol * vol = (_DtHelpGlobSrchVol *) fileList->clientData;
if (vol)
{
vol->startPosition += adjStartAmount;
_DtHelpGlobSrchVol * vol,
Boolean freeHitsThemselves)
{
- register _DtHelpGlobSrchHit * hit;
+ _DtHelpGlobSrchHit * hit;
if (NULL == vol) return; /* RETURN */
NULL != next;
prev = next, next = next->next )
{
- register int ret;
+ int ret;
/* do a NLS case insensitive compare using NLS collating */
if ( (ret = (*strcollfn)(next->indexEntry,indexEntry)) >= 0 )
NULL != volListHead;
volListHead = _DtHelpFileListGetNext(NULL, volListHead) )
{
- register _DtHelpGlobSrchVol * vol;
+ _DtHelpGlobSrchVol * vol;
/* get the volume info */
vol = (_DtHelpGlobSrchVol *) volListHead->clientData;
NULL != curFile;
curFile = _DtHelpFileListGetNext(NULL, curFile) )
{
- register _DtHelpGlobSrchVol * vol;
+ _DtHelpGlobSrchVol * vol;
vol = (_DtHelpGlobSrchVol *) curFile->clientData;
if (NULL == vol) continue; /* CONTINUE */
NULL != curFile;
curFile = _DtHelpFileListGetNext(NULL,curFile) )
{
- register _DtHelpGlobSrchVol * vol = (_DtHelpGlobSrchVol *) curFile->clientData;
+ _DtHelpGlobSrchVol * vol = (_DtHelpGlobSrchVol *) curFile->clientData;
if (NULL == vol) continue; /* CONTINUE */
/* if any hits are displayed and any have open topics,
if ( vol->hitsDisplayed
&& ((vol->nextVolPosition - vol->startPosition) != vol->hitCnt) )
{
- register _DtHelpGlobSrchHit * hit;
+ _DtHelpGlobSrchHit * hit;
for ( hit = vol->hitListHead;
NULL != hit;
hit = hit->next)
NULL != testFile;
testFile = _DtHelpFileListGetNext(NULL,testFile) )
{
- register _DtHelpGlobSrchVol * vol;
+ _DtHelpGlobSrchVol * vol;
vol = (_DtHelpGlobSrchVol *)testFile->clientData;
if (vol && vol->showVolInList && (vol->hitCnt > 0 || vol->zeroHitsOk))
break; /* BREAK */
DtHelpDialogWidget hw,
_DtHelpFileEntry file)
{
- register _DtHelpGlobSrchVol * vol;
+ _DtHelpGlobSrchVol * vol;
/* get volume info, adding if necessary */
vol = (_DtHelpGlobSrchVol *) file->clientData;
NULL != file;
file = _DtHelpFileListGetNext(NULL,file) )
{
- register _DtHelpGlobSrchVol * vol;
+ _DtHelpGlobSrchVol * vol;
vol = (_DtHelpGlobSrchVol *) file->clientData;
if (NULL == vol) continue;
int *ret_num_colors,
_DtGrContext *context);
static void _swaplong (
- register char *bp,
- register unsigned n );
+ char *bp,
+ unsigned n );
static void _swapshort (
- register char *bp,
- register unsigned n );
+ char *bp,
+ unsigned n );
static int XwdFileToPixmap (
Display *dpy,
int screen,
static void
_swapshort (
- register char *bp,
- register unsigned n )
+ char *bp,
+ unsigned n )
{
- register char c;
- register char *ep = bp + n;
+ char c;
+ char *ep = bp + n;
while (bp < ep) {
c = *bp;
static void
_swaplong (
- register char *bp,
- register unsigned n )
+ char *bp,
+ unsigned n )
{
- register char c;
- register char *ep = bp + n;
- register char *sp;
+ char c;
+ char *ep = bp + n;
+ char *sp;
while (bp < ep) {
sp = bp + 3;
unsigned long **ret_colors,
int *ret_number )
{
- register int i, x, y, colorCount = 0;
- register XColor *color;
+ int i, x, y, colorCount = 0;
+ XColor *color;
int result = 0;
Pixel pixel;
unsigned long **ret_colors,
int *ret_number )
{
- register int x, y;
+ int x, y;
XColor color;
unsigned long rmask, gmask, bmask;
int rshift = 0, gshift = 0, bshift = 0;
int *ret_number )
{
int result;
- register int i;
+ int i;
XImage in_image, *out_image;
- register char *buffer;
+ char *buffer;
unsigned long swaptest = 1;
int count;
unsigned buffer_size;
XmGeoMajorLayout layoutPtr,
XmKidGeometry rowPtr )
{
- register Dimension marginW ;
- register Dimension marginH ;
- register Dimension twoMarginW ;
+ Dimension marginW ;
+ Dimension marginH ;
+ Dimension twoMarginW ;
marginW = geoSpec->margin_w ;
DtHelpDialogWidget hw = (DtHelpDialogWidget) wid ;
XmGeoMatrix geoSpec ;
- register XmGeoRowLayout layoutPtr ;
- register XmKidGeometry boxPtr ;
+ XmGeoRowLayout layoutPtr ;
+ XmKidGeometry boxPtr ;
geoSpec = _XmGeoMatrixAlloc( TB_MAX_WIDGETS_VERT, TB_MAX_NUM_WIDGETS, 0) ;
geoSpec->composite = (Widget) hw ;
#endif
XmKidGeometry rowPtr )
{
- register Dimension marginW ;
- register Dimension marginH ;
- register Dimension twoMarginW ;
+ Dimension marginW ;
+ Dimension marginH ;
+ Dimension twoMarginW ;
marginW = geoSpec->margin_w ;
XmGeoMajorLayout layoutPtr, /* unused */
XmKidGeometry rowPtr )
{
- register Dimension marginW ;
- register Dimension twoMarginW ;
+ Dimension marginW ;
+ Dimension twoMarginW ;
marginW = geoSpec->margin_w ;
twoMarginW = (marginW << 1) ;
DtHelpQuickDialogWidget qw = (DtHelpQuickDialogWidget) wid ;
XmGeoMatrix geoSpec ;
- register XmGeoRowLayout layoutPtr ;
- register XmKidGeometry boxPtr ;
+ XmGeoRowLayout layoutPtr ;
+ XmKidGeometry boxPtr ;
XmKidGeometry firstButtonBox ;
#ifdef NOTDONE
int fix_menubar = False ;
djpeg_dest_ptr dinfo,
JDIMENSION rows_supplied)
{
- register int pixval;
- register JSAMPROW ptr;
- register JDIMENSION col;
+ int pixval;
+ JSAMPROW ptr;
+ JDIMENSION col;
ximg_dest_ptr dest = (ximg_dest_ptr) dinfo;
ptr = dest->pub.buffer[0];
int max_rows,
CellInfo *ret_info)
{
- register int i;
+ int i;
char *id;
char *idRefs;
char *ptr;
*/
if (retWidth > cellWidth)
{
- register int j;
+ int j;
_DtCvUnit cellMax;
_DtCvUnit maxSlop;
_DtCvUnit value;
_DtCvUnit *bot_height,
_DtCvUnit *max_width)
{
- register int j;
+ int j;
_DtCvUnit topWidth;
_DtCvUnit botWidth;
int columns )
{
int count = 0;
- register int n;
+ int n;
unsigned long char_width;
Arg args[5];
Dimension newWidth;
int _DtHelpCeStrHashToKey(
const char * str)
{
- register char c;
- register const char * tstr;
- register int key = 0;
+ char c;
+ const char * tstr;
+ int key = 0;
if (!str) return 0; /* RETURN */
_DtCvUnit *ret_height,
_DtCvUnit *ret_ascent)
{
- register int i = 0;
+ int i = 0;
int result = -1;
long fontIdx;
long spcTbIdx = 0;
BufCompressedFill (BufFilePtr f)
{
CompressedFile *file;
- register char_type *stackp, *de_stack;
- register char_type finchar;
- register code_int code, oldcode, incode;
+ char_type *stackp, *de_stack;
+ char_type finchar;
+ code_int code, oldcode, incode;
BufChar *buf, *bufend;
file = (CompressedFile *) f->hidden;
static code_int
getcode(CompressedFile *file)
{
- register code_int code;
- register int r_off, bits;
- register char_type *bp = file->buf;
- register BufFilePtr raw;
+ code_int code;
+ int r_off, bits;
+ char_type *bp = file->buf;
+ BufFilePtr raw;
if ( file->clear_flg > 0 || file->offset >= file->size ||
file->free_ent > file->maxcode )