Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Strlen function
@ 1998-12-09 21:35 Rick van der Linde
  1998-12-09 21:47 ` Paul Tomblin
  0 siblings, 1 reply; 2+ messages in thread
From: Rick van der Linde @ 1998-12-09 21:35 UTC (permalink / raw)
  To: axp-list

Hi,

I got some source-code (to know masqdialer) and get little but
no stopper error.

it complains the following:

list.c: In function `mserver_list':
list.c:38: warning: type mismatch in implicit declaration for built-in
function
`strlen'

authgen.c: In function `main':
authgen.c:76: warning: cast to pointer from integer of different size
authgen.c: In function `chomp':
authgen.c:97: warning: type mismatch in implicit declaration for built-in
functi
on `strlen'

These are the only two errors.... with the same groundings I think.

Rick


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Strlen function
  1998-12-09 21:35 Strlen function Rick van der Linde
@ 1998-12-09 21:47 ` Paul Tomblin
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Tomblin @ 1998-12-09 21:47 UTC (permalink / raw)
  To: axp-list

Quoting Rick van der Linde (h.r.vanderlinde@student.utwente.nl):
> list.c: In function `mserver_list':
> list.c:38: warning: type mismatch in implicit declaration for built-in
> function
> `strlen'

Look for a local declaration of strlen.  Replace it with an include of
strings.h.

-- 
Paul Tomblin, not speaking for anybody.
"NEW!  Microsoft(R) Knees97(tm) - now walking will be more fun, jumping will be
more productive, etc etc. ... I think I'll wait for Gnees instead" - John Dow


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-12-09 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-09 21:35 Strlen function Rick van der Linde
1998-12-09 21:47 ` Paul Tomblin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox