summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-11-28 15:56:10 (GMT)
committerGitHub <noreply@github.com>2017-11-28 15:56:10 (GMT)
commit598ceae876ff4a23072e59945597e945583de4ab (patch)
treea7c0c1380c40bda01c70b8bd40ba47d1b2f6d54a /Modules
parent08d2b86a1058b733bb7f1ae2b55818dd9687d21c (diff)
downloadcpython-598ceae876ff4a23072e59945597e945583de4ab.zip
cpython-598ceae876ff4a23072e59945597e945583de4ab.tar.gz
cpython-598ceae876ff4a23072e59945597e945583de4ab.tar.bz2
bpo-32150: Expand tabs to spaces in C files. (#4583)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_weakref.c18
-rw-r--r--Modules/rotatingtree.h8
2 files changed, 13 insertions, 13 deletions
diff --git a/Modules/_weakref.c b/Modules/_weakref.c
index f9c68d6..c1238e0 100644
--- a/Modules/_weakref.c
+++ b/Modules/_weakref.c
@@ -138,15 +138,15 @@ weakref_functions[] = {
static struct PyModuleDef weakrefmodule = {
- PyModuleDef_HEAD_INIT,
- "_weakref",
- "Weak-reference support module.",
- -1,
- weakref_functions,
- NULL,
- NULL,
- NULL,
- NULL
+ PyModuleDef_HEAD_INIT,
+ "_weakref",
+ "Weak-reference support module.",
+ -1,
+ weakref_functions,
+ NULL,
+ NULL,
+ NULL,
+ NULL
};
PyMODINIT_FUNC
diff --git a/Modules/rotatingtree.h b/Modules/rotatingtree.h
index 3aa0986..7b3e5fd 100644
--- a/Modules/rotatingtree.h
+++ b/Modules/rotatingtree.h
@@ -16,12 +16,12 @@ typedef struct rotating_node_s rotating_node_t;
typedef int (*rotating_tree_enum_fn) (rotating_node_t *node, void *arg);
struct rotating_node_s {
- void *key;
- rotating_node_t *left;
- rotating_node_t *right;
+ void *key;
+ rotating_node_t *left;
+ rotating_node_t *right;
};
void RotatingTree_Add(rotating_node_t **root, rotating_node_t *node);
rotating_node_t* RotatingTree_Get(rotating_node_t **root, void *key);
int RotatingTree_Enum(rotating_node_t *root, rotating_tree_enum_fn enumfn,
- void *arg);
+ void *arg);