[OpenAFS-devel] Re: [OpenAFS] Problems with OpenAFS 1.4.1.

Joe Buehler jbuehler@spirentcom.com
Fri, 16 Jun 2006 10:14:40 -0400


Derrick J Brashear wrote:

> Ok, so at this point, what directories still need to be prototyped?
> Volunteers?

I just checked some of my build logs.  The Sun Workshop 6u2 compiler
emits warnings about "implicitly declared functions" that appear to
be missing prototypes.  There are other prototype warnings that
may be of interest.

Case in point, it looks like it caught the function call that
started this thread.

"commands.c", line 82: warning: implicit function declaration: EvalVolumeSet2
"commands.c", line 87: warning: implicit function declaration: EvalVolumeSet1
"commands.c", line 249: warning: implicit function declaration: ubik_Call
"commands.c", line 475: warning: implicit function declaration: VLDB_IsSameAddrs
"commands.c", line 492: warning: implicit function declaration: re_comp
"commands.c", line 508: warning: implicit function declaration: re_exec
"commands.c", line 772: warning: old-style declaration or incorrect type for: printIfStatus
"commands.c", line 829: warning: old-style declaration or incorrect type for: bc_GetTapeStatusCmd
"commands.c", line 841: warning: implicit function declaration: bc_UpdateHosts
"commands.c", line 853: warning: implicit function declaration: ConnectButc
"commands.c", line 894: warning: old-style declaration or incorrect type for: bc_WaitForNoJobs
"commands.c", line 905: warning: implicit function declaration: dlqEmpty
"commands.c", line 927: warning: old-style declaration or incorrect type for: bc_JobsCmd
"commands.c", line 939: warning: implicit function declaration: dlqInit
"commands.c", line 941: warning: implicit function declaration: lock_Status
"commands.c", line 948: warning: implicit function declaration: dlqUnlink
"commands.c", line 949: warning: implicit function declaration: dlqLinkb
"commands.c", line 1038: warning: implicit function declaration: unlock_Status
"commands.c", line 1043: warning: old-style declaration or incorrect type for: bc_KillCmd
"commands.c", line 1112: warning: statement not reached
"commands.c", line 1117: warning: old-style declaration or incorrect type for: bc_VolRestoreCmd
"commands.c", line 1159: warning: implicit function declaration: bc_ParseHost
"commands.c", line 1168: warning: implicit function declaration: bc_GetPartitionID
"commands.c", line 1242: warning: implicit function declaration: bc_StartDmpRst
"commands.c", line 1264: warning: old-style declaration or incorrect type for: bc_DiskRestoreCmd
"commands.c", line 1292: warning: implicit function declaration: bc_UpdateVolumeSet
"commands.c", line 1379: warning: implicit function declaration: BackupName
"commands.c", line 1421: warning: old-style declaration or incorrect type for: bc_VolsetRestoreCmd
"commands.c", line 1634: warning: implicit function declaration: bc_UpdateDumpSchedule
"commands.c", line 1785: warning: implicit function declaration: bc_jobNumber
"commands.c", line 1863: warning: implicit function declaration: bcdb_FindLatestDump
"commands.c", line 1878: warning: implicit function declaration: bcdb_FindDumpByID
"commands.c", line 1930: warning: implicit function declaration: bcdb_FindClone
"commands.c", line 1985: warning: old-style declaration or incorrect type for: bc_QuitCmd
"commands.c", line 2037: warning: old-style declaration or incorrect type for: bc_LabelTapeCmd
"commands.c", line 2087: warning: implicit function declaration: bc_LabelTape
"commands.c", line 2100: warning: old-style declaration or incorrect type for: bc_ReadLabelCmd
"commands.c", line 2118: warning: implicit function declaration: bc_ReadLabel
"commands.c", line 2130: warning: old-style declaration or incorrect type for: bc_ScanDumpsCmd
"commands.c", line 2155: warning: implicit function declaration: bc_ScanDumps
"commands.c", line 2241: warning: old-style declaration or incorrect type for: bc_dblookupCmd
"commands.c", line 2251: warning: implicit function declaration: DBLookupByVolume
"commands.c", line 2260: warning: old-style declaration or incorrect type for: bc_dbVerifyCmd
"commands.c", line 2313: warning: old-style declaration or incorrect type for: deleteDump
"commands.c", line 2372: warning: implicit function declaration: waitForTask
"commands.c", line 2383: warning: implicit function declaration: deleteStatusNode
"commands.c", line 2392: warning: implicit function declaration: bcdb_deleteDump
"commands.c", line 2419: warning: old-style declaration or incorrect type for: bc_deleteDumpCmd
"commands.c", line 2455: warning: argument #2 is incompatible with prototype:
	prototype: pointer to int : "/home/project-releases/tmp/openafs-1.4.1/include/afs/afsutil_prototypes.h", line 122
	argument : pointer to unsigned int
"commands.c", line 2487: warning: argument #2 is incompatible with prototype:
	prototype: pointer to int : "/home/project-releases/tmp/openafs-1.4.1/include/afs/afsutil_prototypes.h", line 122
	argument : pointer to unsigned int
"commands.c", line 2531: warning: implicit function declaration: bcdb_listDumps
"commands.c", line 2574: warning: old-style declaration or incorrect type for: bc_saveDbCmd
"commands.c", line 2607: warning: argument #2 is incompatible with prototype:
	prototype: pointer to int : "/home/project-releases/tmp/openafs-1.4.1/include/afs/afsutil_prototypes.h", line 122
	argument : pointer to unsigned int
"commands.c", line 2644: warning: old-style declaration or incorrect type for: bc_restoreDbCmd
"commands.c", line 2726: warning: old-style declaration or incorrect type for: DBLookupByVolume
"commands.c", line 2757: warning: implicit function declaration: bcdb_LookupVolume
"commands.c", line 2906: warning: implicit function declaration: printDumpEntry
"commands.c", line 2933: warning: implicit function declaration: bcdb_FindTapeSeq
"commands.c", line 2958: warning: implicit function declaration: ubik_Call_SingleServer
"commands.c", line 3010: warning: implicit function declaration: printTapeEntry
"commands.c", line 3036: warning: implicit function declaration: printVolumeEntry
"commands.c", line 3092: warning: no explicit type given
"commands.c", line 3149: warning: old-style declaration or incorrect type for: bc_dumpInfoCmd
-- 
Joe Buehler