Changeset a4713c6 in rtems-libbsd


Ignore:
Timestamp:
Jul 28, 2012, 11:39:41 AM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
68e4c84
Parents:
a3dc1f0
Message:

Add syslog functionality from old TCP/IP stack.

Location:
freebsd-userspace
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • freebsd-userspace/Makefile

    ra3dc1f0 ra4713c6  
    8080C_FILES += lib/libc/string/strsep.c
    8181
     82# RTEMS Specific Files
    8283C_FILES += rtems/rtems-net-setup.c
     84C_FILES += rtems/syslog.c
    8385
    8486C_O_FILES = $(C_FILES:%.c=%.o)
     
    103105        cd rtems/include; for i in `find . -name '*.h'` ; do \
    104106          install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
     107        cd local; for i in `find . -name '*.h'` ; do \
     108          install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
     109        cd sys; for i in `find . -name '*.h'` ; do \
     110          install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
    105111        install -c -m 644 $(LIB) $(INSTALL_BASE)
    106112
  • freebsd-userspace/rtems/include/sys/syslog.h

    ra3dc1f0 ra4713c6  
    193193void    openlog(const char *, int, int);
    194194int     setlogmask(int);
    195 void    syslog(int, const char *, ...) __printflike(2, 3);
     195void    syslog(int, const char *, ...); /* JRS __printflike(2, 3); */
    196196#if __BSD_VISIBLE
    197 void    vsyslog(int, const char *, __va_list) __printflike(2, 0);
     197void    vsyslog(int, const char *, __va_list); /* JRS __printflike(2, 0); */
    198198#endif
    199199__END_DECLS
Note: See TracChangeset for help on using the changeset viewer.