lkml.org 
[lkml]   [2014]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 1/2] staging: tidspbridge: Add parameter names to function ptrs in struct dbll_attrs
Date
Add more descriptive names to function pointers in definition of struct dbll_attrs

Signed-off-by: Jeff Oczek <jeffoczek@gmail.com>
---
drivers/staging/tidspbridge/include/dspbridge/dblldefs.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/tidspbridge/include/dspbridge/dblldefs.h b/drivers/staging/tidspbridge/include/dspbridge/dblldefs.h
index 30e0aa0..e988e1e 100644
--- a/drivers/staging/tidspbridge/include/dspbridge/dblldefs.h
+++ b/drivers/staging/tidspbridge/include/dspbridge/dblldefs.h
@@ -168,11 +168,11 @@ struct dbll_attrs {
* These file manipulation functions should be compatible with the
* "C" run time library functions of the same name.
*/
- s32(*fread) (void *, size_t, size_t, void *);
- s32(*fseek) (void *, long, int);
- s32(*ftell) (void *);
- s32(*fclose) (void *);
- void *(*fopen) (const char *, const char *);
+ s32 (*fread)(void *ptr, size_t size, size_t count, void *filp);
+ s32 (*fseek)(void *filp, long offset, int origin);
+ s32 (*ftell)(void *filp);
+ s32 (*fclose)(void *filp);
+ void *(*fopen)(const char *path, const char *mode);
};

/*
--
1.9.1


\
 
 \ /
  Last update: 2014-06-14 16:01    [W:0.417 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site