Commit Graph

12 Commits

Author SHA1 Message Date
Michael Meffie
846f772601 Prefix global defines
Prefix constants relocated to the common afs_consts.h
header to void naming collisions.

Change-Id: Ib657e00385002c957b40b36058f260c6cabd108c
Reviewed-on: http://gerrit.openafs.org/905
Reviewed-by: Mickey Lane <mlane@sinenomine.net>
Tested-by: Mickey Lane <mlane@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2009-12-21 13:40:11 -08:00
Michael Meffie
2b8e09315c Consolidate duplicate definitions
Housekeeping change to consolidate some common definitions.
Create a new common header called afs_consts.h.  This allows
us to remove the afscp.c dependency on afs.h (so src/tests
will build again.) Rename the max filename definition in the
update server package to MAXFNSIZE to avoid a name conflict
with MAXSIZE.  The global defines will be prefixed with
AFS_ in a second patch.

Change-Id: I2b8d555a244cc92d889618de4eec4a99550d7c7f
Reviewed-on: http://gerrit.openafs.org/855
Reviewed-by: Mickey Lane <mlane@sinenomine.net>
Tested-by: Mickey Lane <mlane@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2009-12-21 13:36:05 -08:00
Simon Wilkinson
3bb5fa5f1b Remove the RCSID macro
The move to git means that we can no longer populate the RCSID
macro in the way that it was used with CVS. This patch simply
removes the macro from every file, except where it contains
information from upstream (and it's in a comment).

Reviewed-on: http://gerrit.openafs.org/14
Verified-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2009-07-09 22:58:37 -06:00
Simon Wilkinson
0a8f1e16ae venus-prototypes-20090316
LICENSE IPL10
FIXES 124250

prototype the venus directory
2009-03-16 13:24:25 +00:00
Derrick Brashear
8166bd1d19 missing-comerr-header-includes-20081130
LICENSE IPL10
FIXES 123676

include com_err header in places where it's not so afs_error_message et al
exist
2008-11-30 20:24:12 +00:00
Simon Wilkinson
7d05bd439e openafs-string-header-cleanup-20071030
include only what we need
2007-10-30 15:10:37 +00:00
Derrick Brashear
e0fa8ff72f comerr-rename-20070410
nag nag nag
2007-04-10 19:58:13 +00:00
Jeffrey Altman
564d41d96e venus-include-afs-com_err-20070201
FIXES 51424

include afs/com_err.h for error_message() prototype to prevent crashes
on platforms with 64-bit pointers and 32-bit int
2007-02-01 13:23:45 +00:00
Derrick Brashear
872bc94f8c reindent-20030715
FIXES 1774

thanks to nneul@umr.edu for providing a script to do this.
gnu indent 2.2.9 options:
-npro -nbad -bap -nbc -bbo -br -ce -cdw -brs -ncdb -cp1 -ncs -di2 -ndj -nfc1
-nfca -i4 -lp -npcs -nprs -psl -sc -nsob -ts8

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 1774

fix subst mistake
2003-07-16 00:28:24 +00:00
Derrick Brashear
641a84b67b prototypes-fixes-20020821
hopefully last of the lwp fun

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

make it build on the bsds

====================

nope. this time for sure (more lwp createprocess casting)

====================

clean up osi_UFSOpen prototyping

====================

aix gets bitter at this

====================

fix missed argument

====================

again, aix doesn't like this. so, we don't do it

====================

yup, aix still hates this

====================

dux compiler doesn't like this (i think this one is actually my fault)

====================

already prototyped in rxkad_prototypes.h

====================
causes multiple inclusion of protosw.h which isn't safe on irix.

====================

for some reason you just can't declare the same thing the same way twice

====================

make dux compiler happy. oops.
2002-08-22 23:37:11 +00:00
Nathan Neulinger
8f2df21ffe pull-prototypes-to-head-20020821
pull up prototypes to head
2002-08-21 19:52:17 +00:00
Jeffrey Hutzelman
2185f91d88 add-live-sys-cmd-20011008
The attached patch adds a program named 'livesys' to the venus directory.
  This program has exactly the same interface as 'sys', but actually does a
  pioctl to find out the current sysname instead of printing a value
  compiled into it.  It is intended for sites who want 'sys' to report the
  active, locally-assigned sysname of the machine on which it is run.
2001-10-09 07:32:58 +00:00