aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2016-04-14 18:54:06 -0700
committerAndres Freund <andres@anarazel.de>2016-04-14 19:25:17 -0700
commitb54508596dc4202d581873a8841c72fcf3bae7a6 (patch)
tree07f96a45a6c2ce64473197b49c610c4ea3ffffd3 /src
parent6bb42d520436a37c9873e64f144547779bb9886b (diff)
downloadpostgresql-b54508596dc4202d581873a8841c72fcf3bae7a6.tar.gz
postgresql-b54508596dc4202d581873a8841c72fcf3bae7a6.zip
Remove trailing commas in enums.
These aren't valid C89. Found thanks to gcc's -Wc90-c99-compat. These exist in differing places in most supported branches.
Diffstat (limited to 'src')
-rw-r--r--src/include/catalog/objectaccess.h2
-rw-r--r--src/include/pgstat.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/catalog/objectaccess.h b/src/include/catalog/objectaccess.h
index e97c62001b4..d9c959ac919 100644
--- a/src/include/catalog/objectaccess.h
+++ b/src/include/catalog/objectaccess.h
@@ -27,7 +27,7 @@
typedef enum ObjectAccessType
{
OAT_POST_CREATE,
- OAT_DROP,
+ OAT_DROP
} ObjectAccessType;
/*
diff --git a/src/include/pgstat.h b/src/include/pgstat.h
index b3762edb097..a9edf8f6631 100644
--- a/src/include/pgstat.h
+++ b/src/include/pgstat.h
@@ -637,7 +637,7 @@ typedef enum BackendState
STATE_IDLEINTRANSACTION,
STATE_FASTPATH,
STATE_IDLEINTRANSACTION_ABORTED,
- STATE_DISABLED,
+ STATE_DISABLED
} BackendState;
/* ----------