summaryrefslogtreecommitdiff
path: root/ext/sockets
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-07-03 02:52:16 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2018-07-25 00:53:25 +0200
commit8d3f8ca12a0b00f2a74a27424790222536235502 (patch)
treef35ddbdb8b5bc9259712d0275cb461ab7de9b7b9 /ext/sockets
parentdcd6a6ff367a91f8c03303a4dc2e3c8b17d692ed (diff)
downloadphp-git-8d3f8ca12a0b00f2a74a27424790222536235502.tar.gz
Remove unused Git attributes ident
The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
Diffstat (limited to 'ext/sockets')
-rw-r--r--ext/sockets/config.m44
-rw-r--r--ext/sockets/config.w321
-rw-r--r--ext/sockets/multicast.c2
-rw-r--r--ext/sockets/multicast.h2
-rw-r--r--ext/sockets/php_sockets.h2
-rw-r--r--ext/sockets/sockets.c2
-rw-r--r--ext/sockets/unix_socket_constants.h2
-rw-r--r--ext/sockets/win32_socket_constants.h2
8 files changed, 1 insertions, 16 deletions
diff --git a/ext/sockets/config.m4 b/ext/sockets/config.m4
index 2bf6a2bd11..79e3c8b4f5 100644
--- a/ext/sockets/config.m4
+++ b/ext/sockets/config.m4
@@ -1,6 +1,4 @@
-dnl
-dnl $Id$
-dnl
+dnl config.m4 for extension sockets
PHP_ARG_ENABLE(sockets, whether to enable sockets support,
[ --enable-sockets Enable sockets support])
diff --git a/ext/sockets/config.w32 b/ext/sockets/config.w32
index e6c4cfea68..6a1a2907ed 100644
--- a/ext/sockets/config.w32
+++ b/ext/sockets/config.w32
@@ -1,4 +1,3 @@
-// $Id$
// vim:ft=javascript
ARG_ENABLE("sockets", "SOCKETS support", "no");
diff --git a/ext/sockets/multicast.c b/ext/sockets/multicast.c
index fb9061f80c..23e9d1b348 100644
--- a/ext/sockets/multicast.c
+++ b/ext/sockets/multicast.c
@@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/ext/sockets/multicast.h b/ext/sockets/multicast.h
index 7cbe26da64..648461b809 100644
--- a/ext/sockets/multicast.h
+++ b/ext/sockets/multicast.h
@@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#if defined(MCAST_JOIN_GROUP) && !defined(__APPLE__)
# define RFC3678_API 1
/* has block/unblock and source membership, in this case for both IPv4 and IPv6 */
diff --git a/ext/sockets/php_sockets.h b/ext/sockets/php_sockets.h
index 2a399ffdbc..6c843d733d 100644
--- a/ext/sockets/php_sockets.h
+++ b/ext/sockets/php_sockets.h
@@ -22,8 +22,6 @@
#ifndef PHP_SOCKETS_H
#define PHP_SOCKETS_H
-/* $Id$ */
-
#if HAVE_CONFIG_H
# include "config.h"
#endif
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c
index 5b5525f622..61cd639df0 100644
--- a/ext/sockets/sockets.c
+++ b/ext/sockets/sockets.c
@@ -20,8 +20,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/ext/sockets/unix_socket_constants.h b/ext/sockets/unix_socket_constants.h
index 602ffed8dc..b95d8562cb 100644
--- a/ext/sockets/unix_socket_constants.h
+++ b/ext/sockets/unix_socket_constants.h
@@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
/* This file is to be included by sockets.c */
#ifdef EPERM
diff --git a/ext/sockets/win32_socket_constants.h b/ext/sockets/win32_socket_constants.h
index 4f237fa534..5e5fbd85ea 100644
--- a/ext/sockets/win32_socket_constants.h
+++ b/ext/sockets/win32_socket_constants.h
@@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
/* This file is to be included by sockets.c */
REGISTER_LONG_CONSTANT("SOCKET_EINTR", WSAEINTR, CONST_CS | CONST_PERSISTENT);