Question: I'm porting a FOSS package to HP-UX. I'm down to one compiler warning I just cannot figure out. I should note I'm using HP-UX's bundled free /usr/bin/cc, not the add-on purchased compiler, in order to make the package as widely usable as possible.

The compile (which is just cc with no flags) says:

```
Warning 942: "grep.c", line 288 # Types 'char *' and 'int' are not assignment-compatible.
        if ((fname = strsep(&lp, ":")) == NULL)
             ^^^^^^^^^^^^^^^^

```

fname in that function is declared:

```
    char    *fname, *line, *lp, *ln;

```

So fname is a char ptr. And that's what strsep() returns:

```
char *strsep(char **stringp, const char *delim) {

```

strsep is included from OpenBSD: <http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/string/strsep.c?rev=1.6;content-type=text%2Fplain>

So...strsep returns a char pointer, and that's what fname is. strsep can only return a character pointer or NULL. So where is the 'int' in all of this?

Answer: 
It seems that `Path` annotation exists in `jersey-core` library. I think you should include that library in your project
Add the **javax.ws.rs.jar** and import :

```
import javax.ws.rs.Path;

```

Is need to help!