summaryrefslogtreecommitdiff
path: root/sock.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-03-16 12:02:22 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2012-03-16 12:02:22 +0100
commita6d91ded3f2d5401e09a9c2fa442aabfbfe593a8 (patch)
tree95e456ad2b1c7677c3aaadc3d97ba73f3ee22c67 /sock.c
parent27aeaa2aaad9fb642040be903d6fe6c0fc59c6e2 (diff)
downloadstrace-a6d91ded3f2d5401e09a9c2fa442aabfbfe593a8.tar.gz
Tidy up includes and copyright notices, fix indentation
The files not mentioned in changelog below had only copyright notices fixes and indentation fixes. * defs.h: Include <stdint.h> and <inttypes.h>. * file.c: Do not include <inttypes.h>. Move struct kernel_dirent declaration below top include block. * block.c: Do not include <stdint.h> and <inttypes.h>. * quota.c: Likewise. * desc.c: Likewise. * signal.c: Likewise. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'sock.c')
-rw-r--r--sock.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sock.c b/sock.c
index ec2022384..9c6fe96e4 100644
--- a/sock.c
+++ b/sock.c
@@ -23,18 +23,14 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $Id$
*/
#include "defs.h"
-
#include <sys/socket.h>
#include <linux/sockios.h>
#include <arpa/inet.h>
-
#if defined(ALPHA) || defined(SH) || defined(SH64)
-# ifdef HAVE_SYS_IOCTL_H
+# if defined(HAVE_SYS_IOCTL_H)
# include <sys/ioctl.h>
# elif defined(HAVE_IOCTLS_H)
# include <ioctls.h>