1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-26 08:41:47 -07:00

Split long strings to comply with c standard. also make sure %p arguments are pointers.

Copied from Perforce
 Change: 34863
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Nick Barnes 2002-10-28 12:48:29 +00:00
parent eccf65cfd7
commit 75c3b378de
3 changed files with 9 additions and 9 deletions

View file

@ -223,17 +223,17 @@ static void help(void)
"d destroy the current BT\n"
"s <i> set the bit index 'i'\n"
"r <i> reset the bit index 'i'\n"
"g <i> get the bit index 'i'\n"
"sr [<i> <i>] set the specified range\n"
"g <i> get the bit index 'i'\n");
printf("sr [<i> <i>] set the specified range\n"
"rr [<i> <i>] reset the specified range\n"
"is [<i> <i>] is the specified range set?\n"
"ir [<i> <i>] is the specified range reset?\n"
"f <l> [<i> <i>] find a reset range of length 'l'.\n"
"ir [<i> <i>] is the specified range reset?\n");
printf("f <l> [<i> <i>] find a reset range of length 'l'.\n"
"fh <l> [<i> <i>] find a reset range length 'l', working downwards\n"
"fl <l> [<i> <i>] find a reset range of length at least 'l'\n"
"q quit\n"
"? print this message\n"
"\n"
"? print this message\n");
printf("\n"
"No way of testing BTSize, BTRangesSame, or BTCopyInvertRange.\n");
}

View file

@ -607,7 +607,7 @@ extern int main(int argc, char *argv[])
"failed to allocate block");
dummyBlock = (Addr)p; /* avoid pun */
printf("Allocated block [%p, %p)\n", dummyBlock,
printf("Allocated block [%p, %p)\n", (void*)dummyBlock,
(char *)dummyBlock + ArraySize);
checkCBS(cbs, allocTable, dummyBlock);

View file

@ -110,8 +110,8 @@ static void doHelp(void)
"read -> <old> Read filter\n"
"set <mask> -> <old> <new> Set filter\n"
"reset <mask> -> <old> <new> Reset filter\n"
"flip <mask> -> <old> <new> Toggle filter\n"
"intern <string> -> <id> Intern string\n"
"flip <mask> -> <old> <new> Toggle filter\n");
(void)printf("intern <string> -> <id> Intern string\n"
"label <address> <id> Label address\n"
"flush Flush buffer\n"
"help Print this message\n"