<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">Got it.  Thanks.<br clear="all">
<div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">--Junchao Zhang</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Mar 12, 2019 at 2:01 PM Smith, Barry F. <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
  It is because you have  manual page documentation for it. The comment above it starts with /*@   if you don't want a manual page then remove the @ if you want a manual page but no stub then use /*@C<br>
<br>
  Barry<br>
<br>
<br>
> On Mar 12, 2019, at 1:46 PM, Zhang, Junchao via petsc-dev <<a href="mailto:petsc-dev@mcs.anl.gov" target="_blank">petsc-dev@mcs.anl.gov</a>> wrote:<br>
> <br>
> I declared PETSC_INTERN PetscErrorCode VecLockWriteSet_Private(Vec,PetscBool) in vecimp.h and defined it in src/vec/vec/interface/rvector.c.  I used PETSC_INTERN and _Private since currently the function is only used in the Vec packaged and is not public. 
 I met this compilation warning <br>
> src/vec/vec/interface/ftn-auto/rvectorf.c:333:1: warning: implicit declaration of function ‘VecLockWriteSet_Private’ [-Wimplicit-function-declaration]<br>
>  *__ierr = VecLockWriteSet_Private(<br>
>  ^<br>
> How to fix that? I do not think I need a Fortran stub for that. I found under ftn-auto, not all .c functions have a Fotran counterpart. What is the rule?<br>
> Thanks.<br>
> --Junchao Zhang<br>
<br>
</blockquote>
</div>
</body>
</html>