summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-02-08 11:54:02 +0100
committerAlexander Larsson <alexl@redhat.com>2010-02-23 11:52:30 +0100
commit2233dd02a191200b5d33f0b37c32ebf05880c126 (patch)
tree3f01bc879cf1e459e4ee42ccbd3a47bc0b0b4cd2
parentb82f9ed2b3723f468cda2a8f1ffa7918756a290f (diff)
downloadspice-2233dd02a191200b5d33f0b37c32ebf05880c126.tar.gz
spice-2233dd02a191200b5d33f0b37c32ebf05880c126.tar.xz
spice-2233dd02a191200b5d33f0b37c32ebf05880c126.zip
Add emacs settings for indent according to spice styleguide
-rw-r--r--common/cairo_canvas.c1
-rw-r--r--common/cairo_canvas.h1
-rw-r--r--common/canvas_base.c1
-rw-r--r--common/canvas_base.h1
-rw-r--r--common/gdi_canvas.c1
-rw-r--r--common/gdi_canvas.h1
-rw-r--r--common/gl_canvas.c1
-rw-r--r--common/gl_canvas.h1
-rw-r--r--common/gl_utils.h1
-rw-r--r--common/glc.c1
-rw-r--r--common/glc.h1
-rw-r--r--common/lookup3.c1
-rw-r--r--common/lookup3.h1
-rw-r--r--common/lz.c1
-rw-r--r--common/lz.h1
-rw-r--r--common/lz_common.h1
-rw-r--r--common/lz_compress_tmpl.c1
-rw-r--r--common/lz_config.h1
-rw-r--r--common/lz_decompress_tmpl.c1
-rw-r--r--common/mutex.h1
-rw-r--r--common/ogl_ctx.c1
-rw-r--r--common/ogl_ctx.h1
-rw-r--r--common/quic.c1
-rw-r--r--common/quic.h1
-rw-r--r--common/quic_config.h1
-rw-r--r--common/quic_family_tmpl.c1
-rw-r--r--common/quic_rgb_tmpl.c1
-rw-r--r--common/quic_tmpl.c1
-rw-r--r--common/rect.h1
-rw-r--r--common/region.h1
-rw-r--r--common/ring.h1
-rw-r--r--common/rop3.c1
-rw-r--r--common/rop3.h1
33 files changed, 33 insertions, 0 deletions
diff --git a/common/cairo_canvas.c b/common/cairo_canvas.c
index f1988787..a5d41467 100644
--- a/common/cairo_canvas.c
+++ b/common/cairo_canvas.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/cairo_canvas.h b/common/cairo_canvas.h
index 72abcb21..bf6ff907 100644
--- a/common/cairo_canvas.h
+++ b/common/cairo_canvas.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/canvas_base.c b/common/canvas_base.c
index de467c7a..356ef9d6 100644
--- a/common/canvas_base.c
+++ b/common/canvas_base.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/canvas_base.h b/common/canvas_base.h
index ad73bb9a..15cf869e 100644
--- a/common/canvas_base.h
+++ b/common/canvas_base.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c
index df5ae64b..9e29cb83 100644
--- a/common/gdi_canvas.c
+++ b/common/gdi_canvas.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/gdi_canvas.h b/common/gdi_canvas.h
index 8ba3f202..606e71ec 100644
--- a/common/gdi_canvas.h
+++ b/common/gdi_canvas.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/gl_canvas.c b/common/gl_canvas.c
index fd1a2c9d..124bcfe7 100644
--- a/common/gl_canvas.c
+++ b/common/gl_canvas.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/gl_canvas.h b/common/gl_canvas.h
index 442c9f4e..74c89137 100644
--- a/common/gl_canvas.h
+++ b/common/gl_canvas.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/gl_utils.h b/common/gl_utils.h
index 41266775..eeb9f02e 100644
--- a/common/gl_utils.h
+++ b/common/gl_utils.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/glc.c b/common/glc.c
index 5300ebdc..090dc03a 100644
--- a/common/glc.c
+++ b/common/glc.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/glc.h b/common/glc.h
index 6213c375..a6b8579a 100644
--- a/common/glc.h
+++ b/common/glc.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/lookup3.c b/common/lookup3.c
index f23461ad..57274db8 100644
--- a/common/lookup3.c
+++ b/common/lookup3.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
-------------------------------------------------------------------------------
lookup3.c, by Bob Jenkins, May 2006, Public Domain.
diff --git a/common/lookup3.h b/common/lookup3.h
index 00bc4eba..a0d6ec87 100644
--- a/common/lookup3.h
+++ b/common/lookup3.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/lz.c b/common/lz.c
index e0e112ec..f99aa34b 100644
--- a/common/lz.c
+++ b/common/lz.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright 2009 Red Hat, Inc. and/or its affiliates.
diff --git a/common/lz.h b/common/lz.h
index 0444dc83..3ad6caa3 100644
--- a/common/lz.h
+++ b/common/lz.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
dictionary compression for images based on fastlz (http://www.fastlz.org/)
(Distributed under MIT license).
diff --git a/common/lz_common.h b/common/lz_common.h
index 75c32e2e..d5019fd3 100644
--- a/common/lz_common.h
+++ b/common/lz_common.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/lz_compress_tmpl.c b/common/lz_compress_tmpl.c
index be1b941e..b74a2569 100644
--- a/common/lz_compress_tmpl.c
+++ b/common/lz_compress_tmpl.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright 2009 Red Hat, Inc. and/or its affiliates.
diff --git a/common/lz_config.h b/common/lz_config.h
index 748d79df..4db6dc36 100644
--- a/common/lz_config.h
+++ b/common/lz_config.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/lz_decompress_tmpl.c b/common/lz_decompress_tmpl.c
index 36502c66..2fbcfba8 100644
--- a/common/lz_decompress_tmpl.c
+++ b/common/lz_decompress_tmpl.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright 2009 Red Hat, Inc. and/or its affiliates.
diff --git a/common/mutex.h b/common/mutex.h
index 373d54e0..2cf29e97 100644
--- a/common/mutex.h
+++ b/common/mutex.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/ogl_ctx.c b/common/ogl_ctx.c
index 6b175115..df58a815 100644
--- a/common/ogl_ctx.c
+++ b/common/ogl_ctx.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/ogl_ctx.h b/common/ogl_ctx.h
index 85a551ab..c460b9a6 100644
--- a/common/ogl_ctx.h
+++ b/common/ogl_ctx.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/quic.c b/common/quic.c
index 7568f9e1..507c4504 100644
--- a/common/quic.c
+++ b/common/quic.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/quic.h b/common/quic.h
index 8824db7d..e8057e43 100644
--- a/common/quic.h
+++ b/common/quic.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/quic_config.h b/common/quic_config.h
index c9eb8fa2..424a34de 100644
--- a/common/quic_config.h
+++ b/common/quic_config.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/quic_family_tmpl.c b/common/quic_family_tmpl.c
index 58ae6935..3c45af31 100644
--- a/common/quic_family_tmpl.c
+++ b/common/quic_family_tmpl.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/quic_rgb_tmpl.c b/common/quic_rgb_tmpl.c
index 2007df68..af3cda90 100644
--- a/common/quic_rgb_tmpl.c
+++ b/common/quic_rgb_tmpl.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/quic_tmpl.c b/common/quic_tmpl.c
index 5a0a8e55..8a600d39 100644
--- a/common/quic_tmpl.c
+++ b/common/quic_tmpl.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/rect.h b/common/rect.h
index 61de99c2..43e7f21a 100644
--- a/common/rect.h
+++ b/common/rect.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/region.h b/common/region.h
index e685bfba..f981ef3d 100644
--- a/common/region.h
+++ b/common/region.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/ring.h b/common/ring.h
index 4c177132..76c28a8a 100644
--- a/common/ring.h
+++ b/common/ring.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/rop3.c b/common/rop3.c
index 6d2efa2b..64baba80 100644
--- a/common/rop3.c
+++ b/common/rop3.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
diff --git a/common/rop3.h b/common/rop3.h
index 3a24ece2..32a62033 100644
--- a/common/rop3.h
+++ b/common/rop3.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.