]> git.ozlabs.org Git - petitboot/blobdiff - discover/paths.h
discover: load_url_async callback should take an int status
[petitboot] / discover / paths.h
index 93788e9d863fb7331535fcbec97df3ae72edb192..2f52e8245bea81efa040fefc8bb0803ecf907163 100644 (file)
@@ -16,7 +16,7 @@ char *join_paths(void *alloc_ctx, const char *a, const char *b);
  */
 const char *mount_base(void);
 
-typedef void (*load_url_callback)(void *data, int *status);
+typedef void (*load_url_callback)(void *data, int status);
 
 /* Load a (potentially remote) file, and return a guaranteed-local name */
 char *load_url_async(void *ctx, struct pb_url *url, unsigned int *tempfile,