mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-05-06 22:27:48 +00:00
Restore 'register'.
* asctime.c (asctime_r, asctime): * date.c (main, dogmt, reset, nondigit, sametm, convert, checkfinal): * ialloc.c (icatalloc): * localtime.c (detzcode, detzcode64, settzname, tzload) (typesequiv, getzname, getqzname, getnum, getsecs, getoffset) (getrule, transtime, tzparse, tzset, localsub, gmtsub) (leaps_thru_end_of, timesub, increment_overflow) (long_increment_overflow, normalize_overflow) (long_normalize_overflow, tmcomp, time2sub, time1, leapcorr): * scheck.c (scheck): * strftime.c (_yconv): * zdump.c (my_localtime, abbrok, main, yeartot, hunt) (delta, show, abbr, dumptime): * zic.c (main, dolink, itsdir, associate, infile, inrule) (inzone, inzcont, inzsub, inleap, inlink, rulesub, convert64) (writezone, doabbr, stringoffset, stringrule, stringzone) (outzone, addtype, leapadd, adjleap, ciequal, itsabbr, byword) (getfields, rpytime, newabbr, mkdirs): Restore the uses of 'register', reverting that part of the "More C modernization" patch. See Arthur David Olson in <http://mm.icann.org/pipermail/tz/2012-October/018385.html>.
This commit is contained in:
12
scheck.c
12
scheck.c
@@ -10,12 +10,12 @@
|
||||
const char *
|
||||
scheck(const char *const string, const char *const format)
|
||||
{
|
||||
char * fbuf;
|
||||
const char * fp;
|
||||
char * tp;
|
||||
int c;
|
||||
const char * result;
|
||||
char dummy;
|
||||
register char * fbuf;
|
||||
register const char * fp;
|
||||
register char * tp;
|
||||
register int c;
|
||||
register const char * result;
|
||||
char dummy;
|
||||
|
||||
result = "";
|
||||
if (string == NULL || format == NULL)
|
||||
|
||||
Reference in New Issue
Block a user