diff mbox

[rdma-core,1/5] verbs: Remove diagnostic ignored "-Wmissing-prototypes"

Message ID 1504212659-9674-2-git-send-email-jgunthorpe@obsidianresearch.com (mailing list archive)
State Accepted
Headers show

Commit Message

Jason Gunthorpe Aug. 31, 2017, 8:50 p.m. UTC
When the symbol version function __ibv_register_driver
was deleted the pragma was accidently left behind.

Fixes: 6843def955d0 ("verbs: Remove ibv_register_driver")
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
---
 libibverbs/init.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox

Patch

diff --git a/libibverbs/init.c b/libibverbs/init.c
index 4d064bc6cdf213..e0fa4caae6f125 100644
--- a/libibverbs/init.c
+++ b/libibverbs/init.c
@@ -50,8 +50,6 @@ 
 #include <util/util.h>
 #include "ibverbs.h"
 
-#pragma GCC diagnostic ignored "-Wmissing-prototypes"
-
 int abi_ver;
 
 struct ibv_sysfs_dev {