Skip to content

Commit ba70ccb

Browse files
author
Will Fris
committed
Cross reference comment on css definitions
1 parent b0656ae commit ba70ccb

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

ext/standard/css.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717
#include "php.h"
1818
#include "info.h"
1919

20-
PHPAPI ZEND_COLD void php_info_print_css(void) /* {{{ */
20+
/* {{{ void php_info_print_css(void)
21+
* Perhaps duplicate changes in ext/standard/css.c
22+
* , sapi/cli/php_cli_server.c
23+
*/
24+
PHPAPI ZEND_COLD void php_info_print_css(void)
2125
{
2226
PUTS("body {background-color: #fff; color: #222; font-family: sans-serif;}\n");
2327
PUTS("pre {margin: 0; font-family: monospace;}\n");

sapi/cli/php_cli_server.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ static void php_cli_server_log_response(php_cli_server_client *client, int statu
237237
ZEND_DECLARE_MODULE_GLOBALS(cli_server)
238238

239239
/* {{{ static char php_cli_server_css[]
240-
* copied from ext/standard/info.c
240+
* Perhaps duplicate changes in ext/standard/css.c
241+
* , sapi/cli/php_cli_server.c
241242
*/
242243
static const char php_cli_server_css[] = "<style>" \
243244
":root{" \

0 commit comments

Comments
 (0)