summaryrefslogtreecommitdiff
path: root/mysys/my_seek.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-11-22 13:15:17 +0200
committermonty@hundin.mysql.fi <>2001-11-22 13:15:17 +0200
commita2a838f88769dea90a0ba5a7196057eec6ca8c11 (patch)
tree60d5cefe9bdd1c85216800340716daa5b627af21 /mysys/my_seek.c
parent964f7c63b942776fa116a6eb369e0c262f9a808a (diff)
downloadmariadb-git-a2a838f88769dea90a0ba5a7196057eec6ca8c11.tar.gz
Portability fix
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");