]> git.evergreen-ils.org Git - OpenSRF.git/commit - src/libopensrf/osrf_application.c
Tidying up various things; nothing very substantial.
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 26 Feb 2010 03:57:11 +0000 (03:57 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 26 Feb 2010 03:57:11 +0000 (03:57 +0000)
commitca6a06c6f27d0dcd67c46611e6dfae7489079fc0
treede3a949da6c57b182610d0f59121b127902edea4
parent4023caa183dc99d1c24cb0e6094b090fea682112
Tidying up various things; nothing very substantial.

1. Added newlines and indentation within long macros to make them look
more like real code.

2. The OSRF_METHOD_VERIFY_DESCRIPTION macro is not used anywhere.  I
moved it from the header into the implementation file and commented it
out, preserving it like a fly in amber in case we ever want to revive it.

3. Moved the definition of the struct osrfApplication from the header
into the application file, since no other file references it.

4. Moved the OSRF_SYSMETHOD_* macros from the header into the implementation
file, since they are not referenced elsewhere.

5. Turned _osrfAppFindApplication() and osrfAppFindMethod into inline
functions, since each is a trivial wrapper for another function.

6. Added a formal void parameter to osrfAppRunExitCode, so that its
signature is a prototype rather than a mere declaration.

7. Removed a couple of redundant sanity checks.

8. Further tinkered with comments and white space.

M    include/opensrf/osrf_application.h
M    src/libopensrf/osrf_application.c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1933 9efc2488-bf62-4759-914b-345cdb29e865
include/opensrf/osrf_application.h
src/libopensrf/osrf_application.c