[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
373/376: Pedantry
From: |
Ludovic Courtès |
Subject: |
373/376: Pedantry |
Date: |
Wed, 28 Jan 2015 22:06:16 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit 4e0607369e86f0a8e2d55df831567a410ffd3328
Author: Eelco Dolstra <address@hidden>
Date: Sun Dec 14 01:51:14 2014 +0100
Pedantry
---
src/download-via-ssh/download-via-ssh.cc | 2 +-
src/libexpr/parser.y | 4 ----
src/libmain/shared.cc | 2 +-
src/libstore/optimise-store.cc | 2 +-
src/libutil/monitor-fd.hh | 2 +-
5 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/src/download-via-ssh/download-via-ssh.cc
b/src/download-via-ssh/download-via-ssh.cc
index 164c24b..f71cf56 100644
--- a/src/download-via-ssh/download-via-ssh.cc
+++ b/src/download-via-ssh/download-via-ssh.cc
@@ -9,7 +9,7 @@
#include "store-api.hh"
#include <iostream>
-#include <stdlib.h>
+#include <cstdlib>
#include <unistd.h>
using namespace nix;
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y
index dcb270b..ff17481 100644
--- a/src/libexpr/parser.y
+++ b/src/libexpr/parser.y
@@ -53,10 +53,6 @@ namespace nix {
#include "parser-tab.hh"
#include "lexer-tab.hh"
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
YY_DECL;
using namespace nix;
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index 9c74a61..082705d 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -11,7 +11,7 @@
#include <exception>
#include <algorithm>
-#include <stdlib.h>
+#include <cstdlib>
#include <sys/time.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc
index fb56076..55c252b 100644
--- a/src/libstore/optimise-store.cc
+++ b/src/libstore/optimise-store.cc
@@ -4,7 +4,7 @@
#include "local-store.hh"
#include "globals.hh"
-#include <stdlib.h>
+#include <cstdlib>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/src/libutil/monitor-fd.hh b/src/libutil/monitor-fd.hh
index e99869e..6f01ccd 100644
--- a/src/libutil/monitor-fd.hh
+++ b/src/libutil/monitor-fd.hh
@@ -3,7 +3,7 @@
#include <thread>
#include <atomic>
-#include <stdlib.h>
+#include <cstdlib>
#include <poll.h>
#include <sys/types.h>
#include <unistd.h>
- 366/376: Rename files, (continued)
- 366/376: Rename files, Ludovic Courtès, 2015/01/28
- 371/376: Merge commit '36c67860363c93eb00cf5b8e2ad34f6f775e6901', Ludovic Courtès, 2015/01/28
- 363/376: Style, Ludovic Courtès, 2015/01/28
- 376/376: Grmbl, Ludovic Courtès, 2015/01/28
- 372/376: Merge branch 'cygwin-master' of https://github.com/ternaris/nix, Ludovic Courtès, 2015/01/28
- 364/376: ReiserFS -> ext4, Ludovic Courtès, 2015/01/28
- 375/376: Add a section on nix-serve, Ludovic Courtès, 2015/01/28
- 361/376: Document channel format and excise most mentions of manifests and nix-pull, Ludovic Courtès, 2015/01/28
- 370/376: Delete the stdenv section, Ludovic Courtès, 2015/01/28
- 374/376: Add section on SSH substituter, Ludovic Courtès, 2015/01/28
- 373/376: Pedantry,
Ludovic Courtès <=
- 368/376: Fix build, Ludovic Courtès, 2015/01/28
- 369/376: Bla, Ludovic Courtès, 2015/01/28
- 294/376: Clean up temp roots in a more C++ way, Ludovic Courtès, 2015/01/28
- 287/376: Don't use ADDR_LIMIT_3GB, Ludovic Courtès, 2015/01/28
- 255/376: binary download: Use $NIX_CURL_FLAGS, Ludovic Courtès, 2015/01/28
- 301/376: 'build-cache-failures' -> 'build-cache-failure' in nix.conf documentation., Ludovic Courtès, 2015/01/28
- 275/376: Revert "Revert "Revert "Temporarily disable darwin builds while hydra's darwin is borked""", Ludovic Courtès, 2015/01/28
- 302/376: Don't claim FreeBSD support, Ludovic Courtès, 2015/01/28
- 274/376: Don't pull in git when doing a nix-shell, Ludovic Courtès, 2015/01/28
- 247/376: mkList: Scrub better, Ludovic Courtès, 2015/01/28