[haiku-commits] Re: haiku: hrev43839 - src/build/libroot

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 12 Mar 2012 21:14:30 +0100

On 09.03.2012 22:41, jscipione@xxxxxxxxx wrote:
+++ b/src/build/libroot/fs_darwin.cpp
@@ -19,12 +19,12 @@
  #include<unistd.h>


-int get_path(int fd, const char* path, char** fullPath);
+int get_path(int fd, const char* path, char fullPath[]);

What is the prototype good for? And why is this function not static? If it's actually used anywhere else, it should not pollute the public namespace.

Bye,
   Axel.

Other related posts: