summaryrefslogtreecommitdiff
path: root/mysys/my_seek.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-11-22 13:15:17 +0200
committerunknown <monty@hundin.mysql.fi>2001-11-22 13:15:17 +0200
commit7ef7d93726929ec678a8b07bed1be7bb56ad4b10 (patch)
tree60d5cefe9bdd1c85216800340716daa5b627af21 /mysys/my_seek.c
parente0d3ed73a10f7e5a0d193b93fd77bfdb3f611c92 (diff)
downloadmariadb-git-7ef7d93726929ec678a8b07bed1be7bb56ad4b10.tar.gz
Portability fix
mysys/my_seek.c: Remove warning
Diffstat (limited to 'mysys/my_seek.c')
-rw-r--r--mysys/my_seek.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysys/my_seek.c b/mysys/my_seek.c
index d8e8cf83b6d..7c4da4f6010 100644
--- a/mysys/my_seek.c
+++ b/mysys/my_seek.c
@@ -20,7 +20,8 @@
/* Seek to position in file */
/*ARGSUSED*/
-my_off_t my_seek(File fd, my_off_t pos, int whence, myf MyFlags)
+my_off_t my_seek(File fd, my_off_t pos, int whence,
+ myf MyFlags __attribute__((unused)))
{
reg1 os_off_t newpos;
DBUG_ENTER("my_seek");
@@ -40,7 +41,7 @@ my_off_t my_seek(File fd, my_off_t pos, int whence, myf MyFlags)
/* Tell current position of file */
/* ARGSUSED */
-my_off_t my_tell(File fd, myf MyFlags)
+my_off_t my_tell(File fd, myf MyFlags __attribute__((unused)))
{
os_off_t pos;
DBUG_ENTER("my_tell");