[CRIU] [RFC 3/6] headers: Add CR_ prefix where needed

Cyrill Gorcunov gorcunov at openvz.org
Sat Dec 22 13:22:47 EST 2012


Two leading underlines are not desired to be
used in regular programs headers (see 7.1.3
Reserved identifiers in C specification).

This unifies the scheme we use for our
headers one-include-guard -- CR_[some-name-here]_H__

An exception is crtools.h header for obvious reason.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/atomic.h           | 6 +++---
 include/cpu.h              | 6 +++---
 include/eventfd.h          | 6 +++---
 include/eventpoll.h        | 6 +++---
 include/fifo.h             | 6 +++---
 include/file-ids.h         | 6 +++---
 include/files-reg.h        | 6 +++---
 include/files.h            | 6 +++---
 include/fpu.h              | 6 +++---
 include/inet_diag.h        | 6 +++---
 include/inotify.h          | 6 +++---
 include/kcmp-ids.h         | 4 ++--
 include/libnetlink.h       | 6 +++---
 include/linkage.h          | 6 +++---
 include/log-levels.h       | 6 +++---
 include/log.h              | 6 +++---
 include/memcpy_64.h        | 6 +++---
 include/mount.h            | 6 +++---
 include/namespaces.h       | 4 ++--
 include/net.h              | 4 ++--
 include/netfilter.h        | 4 ++--
 include/packet_diag.h      | 4 ++--
 include/parasite-syscall.h | 6 +++---
 include/pipes.h            | 4 ++--
 include/proc_parse.h       | 6 +++---
 include/protobuf.h         | 6 +++---
 include/pstree.h           | 4 ++--
 include/ptrace.h           | 6 +++---
 include/rbtree.h           | 6 +++---
 include/shmem.h            | 4 ++--
 include/signalfd.h         | 4 ++--
 include/sk-inet.h          | 4 ++--
 include/sk-packet.h        | 4 ++--
 include/sk-queue.h         | 6 +++---
 include/syscall-types.h    | 6 +++---
 include/unix_diag.h        | 6 +++---
 include/util-net.h         | 4 ++--
 include/util.h             | 6 +++---
 38 files changed, 102 insertions(+), 102 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-headers-Add-CR_-prefix-where-needed.patch
Type: text/x-patch
Size: 16019 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121222/66850ac2/attachment-0001.bin>


More information about the CRIU mailing list