From: Jean-Philippe Orsini Date: Sun, 13 May 2012 09:00:20 +0000 (+0000) Subject: updated to new version of checkpatch.pl X-Git-Tag: v0.8.0.5~328 X-Git-Url: https://git.wpitchoune.net/gitweb/?a=commitdiff_plain;h=9f73275fe6e2f89ec4eb798fcdc3ca6075a8f20e;hp=e54444e3e9a77037683eaa26860bbd601e99989b;p=psensor.git updated to new version of checkpatch.pl --- diff --git a/src/lib/amd.c b/src/lib/amd.c index b806736..6b7f59d 100644 --- a/src/lib/amd.c +++ b/src/lib/amd.c @@ -65,7 +65,7 @@ static void __stdcall *adl_main_memory_alloc(int isize) return lpbuffer; } -static void *getprocaddress(void *plibrary, const char * name) +static void *getprocaddress(void *plibrary, const char *name) { return dlsym(plibrary, name); } diff --git a/src/lib/psensor_json.h b/src/lib/psensor_json.h index d87a9ad..93159fd 100644 --- a/src/lib/psensor_json.h +++ b/src/lib/psensor_json.h @@ -30,7 +30,7 @@ char *sensors_to_json_string(struct psensor **sensors); * Creates a new allocated psensor corresponding to a given json * representation. */ -struct psensor *psensor_new_from_json(json_object *o, +struct psensor *psensor_new_from_json(json_object * o, const char *sensors_url, int values_max_length); #endif