emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/pq 191b842a56 21/63: Add missing static declarations.


From: ELPA Syncer
Subject: [elpa] externals/pq 191b842a56 21/63: Add missing static declarations.
Date: Mon, 14 Feb 2022 23:24:21 -0500 (EST)

branch: externals/pq
commit 191b842a566477b7fa8b25de4f12b6faa07c7a3c
Author: Andreas Seltenreich <seltenreich@gmx.de>
Commit: Andreas Seltenreich <seltenreich@gmx.de>

    Add missing static declarations.
---
 pq.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pq.c b/pq.c
index 9177abfac7..52c6350be3 100644
--- a/pq.c
+++ b/pq.c
@@ -30,14 +30,14 @@ static void pq_notice_rx (void *arg, const PGresult *res)
      env->funcall (env, Fmessage, 2, args);
 }
 
-void pq_finalize_pointer(void *user_ptr)
+static void pq_finalize_pointer(void *user_ptr)
 {
   PGconn *conn = user_ptr;
   PQfinish(conn);
 }
 
 /* Raise error unless a PGresult is ok. */
-bool result_ok(emacs_env *env, PGresult *res)
+static bool result_ok(emacs_env *env, PGresult *res)
 {
   int status = PQresultStatus(res);
   switch (status) {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]