OSDN Git Service

Get rid of missing prototype warnings
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / common / query_module.c
1 /* vi: set sw=4 ts=4: */
2 /*
3  * query_module() for uClibc
4  *
5  * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
6  *
7  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
8  */
9
10 #include "syscalls.h"
11 int query_module(const char *name attribute_unused, int which attribute_unused,
12                                  void *buf attribute_unused, size_t bufsize attribute_unused, size_t * ret attribute_unused);
13 #ifdef __NR_query_module
14 _syscall5(int, query_module, const char *, name, int, which,
15                   void *, buf, size_t, bufsize, size_t *, ret);
16 #else
17 int query_module(const char *name attribute_unused, int which attribute_unused,
18                                  void *buf attribute_unused, size_t bufsize attribute_unused, size_t * ret attribute_unused)
19 {
20         __set_errno(ENOSYS);
21         return -1;
22 }
23 #endif