From 62b58a361fccec935d7940fb7ab86508ccdceb00 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 3 Sep 2014 16:55:59 +0200 Subject: mausezahn: Fix non-ANSI function declarations ANSI C doesn't allow empty parameter list, thus use void where appropriate. This fixes the corresponding sparse warning. Signed-off-by: Tobias Klauser --- staging/lookupdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'staging/lookupdev.c') diff --git a/staging/lookupdev.c b/staging/lookupdev.c index dfca239..7226941 100644 --- a/staging/lookupdev.c +++ b/staging/lookupdev.c @@ -38,7 +38,7 @@ // 0 if usable device found (device_list[] and tx.device set) // 1 if no usable device found // -int lookupdev() +int lookupdev(void) { // char *tx.device is global, see as.h -- cgit v1.2.3-54-g00ecf