X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ffile-handle.q;h=77291a45e42836595c071150a754ab3691a0fa2d;hb=b70dc1a6b7b15967ceb111f80dff65c44f0fac57;hp=c70945ee381f701cf9a2694cd9e0198289ea714a;hpb=55dee937e22a49d01794ef772076d9f9d84199e9;p=pspp diff --git a/src/file-handle.q b/src/file-handle.q index c70945ee38..77291a45e4 100644 --- a/src/file-handle.q +++ b/src/file-handle.q @@ -241,7 +241,7 @@ fh_get_handle_by_name (const char name[9]) Useful for printing error messages about use of file handles. */ const char * -fh_handle_name (struct file_handle *h) +fh_handle_name (const struct file_handle *h) { static char *buf = NULL; @@ -286,7 +286,7 @@ fh_close_handle (struct file_handle *h) /* Hashes the name of file handle H. */ static unsigned -hash_file_handle (const void *handle_, void *param unused) +hash_file_handle (const void *handle_, void *param UNUSED) { const struct file_handle *handle = handle_; @@ -295,7 +295,7 @@ hash_file_handle (const void *handle_, void *param unused) /* Compares names of file handles A and B. */ static int -cmp_file_handle (const void *a_, const void *b_, void *foo unused) +cmp_file_handle (const void *a_, const void *b_, void *foo UNUSED) { const struct file_handle *a = a_; const struct file_handle *b = b_;